aboutsummaryrefslogtreecommitdiff
path: root/config.h (follow)
Commit message (Collapse)AuthorAgeLines
* config: CSD borders are always invisibleDaniel Eklöf2020-03-03-2/+0
| | | | | That is, remove all configuration options and always draw them fully transparent.
* csd: initial implementation of minimize/maximize/close buttonsDaniel Eklöf2020-03-02-0/+7
|
* config: make CSD user configurableDaniel Eklöf2020-03-02-0/+14
| | | | | | | | | | | | | | The user can now configure the following: * Whether to prefer CSDs or SSDs. But note that this is only a hint to the compositor - it may deny our request. Furthermore, not all compositors implement the decoration manager protocol, meaning CSDs will be used regardless of the user configuration (GNOME/mutter being the most prominent one). * Title bar size and color, including transparency * Border size and color, including transparency Also drop support for rendering the CSDs inside the main surface.
* config: add 'login-shell' optionDaniel Eklöf2020-02-20-0/+1
|
* config: add 'pad' option, default to 2Daniel Eklöf2020-02-15-0/+2
|
* Implement --holdDaniel Eklöf2020-02-03-0/+1
| | | | When specified, we don't exit when the slave/client process exits.
* 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