aboutsummaryrefslogtreecommitdiff
path: root/config.h (follow)
Commit message (Collapse)AuthorAgeLines
* wayland: optionally use the presentation time protocol to measure input lagDaniel Eklöf2019-12-31-1/+1
| | | | | | | | | | | | | | | | | | | This adds a flag, -p,--presentation-timings, that enables input lag measuring using the presentation time Wayland protocol. When enabled, we store a timestamp when we *send* a key to the slave. Then, when we commit a frame for rendering to the compositor, we request presentation feedback. We also store a timestamp for when the frame was committed. The 'presented' callback then looks at the input and commit timestamps, and compares it with the presented timestamp. The delay is logged at INFO when the delay was less than one frame interval, at WARN when it was one frame interval, and at ERR when it was two or more frame intervals. We also update statistic counters that we log when foot is shut down.
* config: enable user to specify path to configuration fileDaniel Eklöf2019-12-17-1/+1
|
* config: add 'server_socket_path' and set a default valueDaniel Eklöf2019-12-14-0/+2
|
* fcft: use fcft instead of local copy of font.c/font.hDaniel Eklöf2019-12-01-1/+2
|
* add config + command line option for setting initial window width/heightDaniel Eklöf2019-08-23-0/+3
|
* render: replace all usage of cairo with pixmanDaniel Eklöf2019-08-16-1/+1
|
* Add background alpha supportDaniel Eklöf2019-08-15-0/+1
|
* conf: make number of scrollback lines configurableDaniel Eklöf2019-08-01-0/+2
|
* font: add support for fallback fontsDaniel Eklöf2019-07-30-1/+2
| | | | | | | | | | | | | | | A top-level font now has a list of fallback fonts. When a glyph cannot be found, we try each fallback font in turn, until we either find one that has the glyph, or until we've exhausted the list. To make this actually work in practise (read: to make performance acceptable), the cache is re-worked and is now populated on demand. It also supports non-ASCII characters, by using the 4-byte unicode character as index instead. Since having an array that can be indexed by a 4-byte value isn't really viable, we now have a simple hash table instead of an array.
* wip: initial multithreaded rendererDaniel Eklöf2019-07-29-0/+2
|
* conf: allow the user to configure a fixed cursor colorDaniel Eklöf2019-07-23-0/+4
| | | | | | | | | | | | | | | | | | | The default is to reverse the foreground/background colors in the cell with the cursor. But, if the user configures a specific set of cursor colors, those will always be used, regardless of other cell attributes (dim, reverse etc). The cursor color is specified as two color values, 'text' and 'cursor'. The block cursor uses the 'cursor' color as background, and the 'text' color for the glyph. All other cursor styles uses the 'cursor' color for the cursor, but uses the cell's foreground color for the glyph (meaning, dim/reverse/etc applies).
* conf: make cursor's default style configurableDaniel Eklöf2019-07-22-0/+6
|
* conf: config now provides the colors (though still only hardcoded colors)Daniel Eklöf2019-07-21-0/+8
|
* conf: TERM can now be set in footrcDaniel Eklöf2019-07-18-0/+1
|
* conf: improve configuration file parsingDaniel Eklöf2019-07-17-1/+3
| | | | | | | * Strip whitespaces from keys and values * Detect (and ignore) comments * Detect syntax errors (no value specified etc) * Error out on syntax errors and invalid keys
* conf: get user's shellDaniel Eklöf2019-07-17-0/+1
|
* conf: initial support for configuration fileDaniel Eklöf2019-07-16-0/+8
* Look for configuration file in (in this order): - XDG_CONFIG_HOME/footrc - ~/.config/footrc * Currently supports setting the font