aboutsummaryrefslogtreecommitdiff
path: root/doc/foot.ini.5.scd (follow)
Commit message (Collapse)AuthorAgeLines
* fonts: size fonts using the scaling factor when output scaling is enabledDaniel Eklöf2020-12-17-11/+16
| | | | | | | | | | | | | | | | | | | This extends the new ‘dpi-aware’ option with a new default value, ‘auto’. When set to ‘auto’, fonts are sized using monitors’ DPI when output scaling is disabled. When output scaling is enabled, fonts are instead sized using the scaling factor. The reasoning here is that a user that has enabled output scaling is obviously *not* relying on DPI scaling. Output scaling can also be a way to compensate for different viewing distances, in which case we do *not* want to break that by using DPI scaling. Users can still force DPI-only font sizing by setting ‘dpi-aware=yes’, or disable it completely by setting ‘dpi-aware=no’.
* config: add ‘notify’ to possible values for ‘bell’ in foot.iniDaniel Eklöf2020-12-10-1/+4
| | | | | When `bell=notify`, foot will trigger a desktop notification when it receives a BEL in an unfocused window.
* osc: implement urxvt’s “OSC 777;notify”Daniel Eklöf2020-12-09-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC 777 is URxvt’s generic escape to send commands to its perl extensions. The first parameter is the name of the extension, followed by its arguments. OSC 777;notify is a, if not well established, at least a fairly well known escape sequence to request a (desktop) notification. The syntax is: \e]777;notify;<title>;<body>\e\\ Neither title nor body is escaped in any way, meaning they should not contain a ‘;’. Foot will split title from body at the *first* ‘;’. Any remaining ‘;’ characters are treated as part of ‘body’. Instead of adding built-in support for the freedesktop notification specification (which would require us to link against at least dbus), add a new config option to foot.ini: ‘notify’. This option specifies the command to execute when a notification is received. ‘${title}’ and ‘${body}’ can be used anywhere, in any combination, and as many times as you want, in any of the command arguments. The default value is ‘notify-send -a foot -i foot ${title} ${body}’
* config: remove support for loading configuration from footrcDaniel Eklöf2020-12-08-2/+0
|
* doc: foot.5: minor highlighting fixesDaniel Eklöf2020-11-26-5/+6
|
* config: add ‘dpi-aware’ option, defaulting to enabledDaniel Eklöf2020-11-19-0/+15
| | | | | | | | | | When disabled, foot no longers uses outputs’ DPI to scale the font. Instead, it uses the outputs’ scaling factor. That is, instead of appending “:dpi=123” to the fontconfig string, modify the “:pixelsize” or “:size” attribute. Closes #206
* doc: foot.ini: document default.bold-text-in-brightDaniel Eklöf2020-11-14-0/+4
|
* config: enable allow-overflowing-double-width-glyphs by defaultDaniel Eklöf2020-11-13-2/+2
|
* search: add {clipboard,primary}-paste key bindingsDaniel Eklöf2020-11-01-0/+7
| | | | | | | | | | These bindings copy from the clipboard or primary selection into the search buffer. Default bindings: * clipboard-paste: ctrl+v, ctrl+y * primary-paste: shift+insert
* doc: foot.ini.5: mention how one can disable bold/italic fonts completelyDaniel Eklöf2020-10-20-0/+3
|
* config: add font-bold, font-italic and font-bold-italic optionsDaniel Eklöf2020-10-20-5/+12
| | | | | | | | | | These options lets the user configure custom fonts and styles, to use with the bold and italic cell attributes. By default, they are unset, meaning we use the bold/italic variants of the regular font. Closes #169.
* csi: implement ‘CSI ? 1042 h/l’ - enable/disable bell-is-urgentDaniel Eklöf2020-10-11-0/+3
|
* doc: foot.ini.t: csd.preferred: repair indentation of “default: _server_”Daniel Eklöf2020-10-10-2/+2
|
* doc; foot.ini.5: csd.preferred: re-phraseDaniel Eklöf2020-10-10-5/+1
|
* conf: csd.preferred can now be set to ‘none’Daniel Eklöf2020-10-10-4/+13
| | | | | | | | | | | When csd.preferred == none, we will request CSDs from the compositor, but internally render as if we are using SSDs. That is, we don’t render any window decorations at all. Note that some compositors may ignore our request to use CSDs, and still render SSDs for us. Closes #163
* Merge branch 'bind-shift+insert-to-primary-paste' into masterDaniel Eklöf2020-10-10-2/+2
|\
| * config: bind shift+insert to primary-paste by defaultDaniel Eklöf2020-10-10-2/+2
| |
* | doc: foot.ini: word-delimiters: whitespace chars are always delimitersDaniel Eklöf2020-10-09-1/+2
| |
* | config: add ‘[default].word-delimiters’Daniel Eklöf2020-10-09-0/+4
|/ | | | | | | | | | This option lets the user configure which characters act as word delimiters when selecting text. This affects both “double clicking”, and ‘ctrl-w’ in scrollback search mode. Closes #156
* doc: foot.ini: bell/urgency: add note about this getting replaced in the futureDaniel Eklöf2020-10-09-1/+4
| | | | | | | The ‘set-urgency’ action is an interim workaround for lack of support of an urgency hint in Wayland compositors. If/when such a feature gets implemented in Wayland, I intend to use that instead of the current implementation in foot.
* bell: optionally render margins in red when receiving BELDaniel Eklöf2020-10-08-0/+16
| | | | | | | | | | | Add anew config option, ‘bell=none|set-urgency’. When set to ‘set-urgency’, the margins will be painted in red (if the window did not have keyboard focus). This is intended as a cheap replacement for the ‘urgency’ hint, that doesn’t (yet) exist on Wayland. Closes #157
* doc: foot.ini: mention that ‘lines’ is rounded up to nearest power of 2Daniel Eklöf2020-10-08-1/+3
|
* doc: foot.ini: “top at” -> “top of”Daniel Eklöf2020-10-08-1/+1
|
* doc: foot.ini: it’s foot.ini, not foot.initDaniel Eklöf2020-10-08-1/+1
|
* doc: foot.ini: the tweak section is called ‘tweak’, not ‘tweaks’Daniel Eklöf2020-10-07-1/+1
|
* config: change default multiplier from 1.0 -> 3.0Daniel Eklöf2020-09-29-1/+1
|
* doc: foot.ini: alternate-scroll-mode: fix highlighting of CSI escapeDaniel Eklöf2020-09-16-1/+1
|
* config: add mouse.alternate-scroll-mode optionDaniel Eklöf2020-09-15-0/+18
| | | | | This option controls the initial state of the Alternate Scroll Mode, and defaults to ‘enabled’.
* render: best-effort attempt to set initial window size in chars when scale != 1Daniel Eklöf2020-09-14-1/+8
| | | | | | | | | | | The initial window size is set *before* we’re initially mapped. This means we don’t (yet) know on which output we’ll be mapped. _That_ means we don’t know which scaling factor to use. This implements a best effort attempt, where we use the “guessed” scaling factor. This will always be correct in single-monitor configurations, but may be wrong in multi-monitor setups with different scaling factors.
* config: add tweak.scaling-filterDaniel Eklöf2020-09-13-0/+12
| | | | | | | | Use the new fcft_set_scaling_filter() API to use a non-default scaling filter. By default, we use lanczo3, the ‘best’ filter. This overrides the default in fcft, which is ‘cubic’ filtering.
* key-binding: deprecate scrollback-up/down, add scrollback-up/down-lineDaniel Eklöf2020-09-10-8/+12
| | | | | | | | This deprecates/renames scrollback-up/down to scrollback-up/down-page. It also renames scrollback-up/down-half to scrollback-up/down-half-page, and adds the new bindings scrollback-up/down-line.
* config: add scrollback-{up,down}-half key bindingsDaniel Eklöf2020-09-09-2/+11
| | | | | | | | These new bindings scroll up/down half a page in the scrollback (instead of the full page scrolled by ‘scrollback-{up,down}’). Closes #128.
* Add -W,--window-size-chars, and foot.ini:initial-window-size-charsDaniel Eklöf2020-09-08-4/+14
| | | | | | | | | | | * Add -W,--window-size-chars command line option * Add initial-window-size-chars foot.ini option * Add -w,--window-size-pixels command line option * Add initial-window-size-pixels foot.ini option * Deprecate -g,--geometry command line option in favor of -w,--window-size-pixels * Deprecate geometry option in foot.ini in favor of initial-window-size-pixels
* config: add tweak.damage-whole-windowDaniel Eklöf2020-09-06-2/+17
| | | | | | | | | | When enabled, foot will ‘damage’ the entire window, instead of just the modified/updated rows. This will force the compositor to redraw/blend the whole window. This can be used to workaround an issue with fractional scaling in Gnome, where random thin lines may appear.
* doc: foot.ini: max-shm-pool-size-mb: a value of 0 disables the featureDaniel Eklöf2020-09-06-0/+2
|
* doc: foot.ini: remove empty lines after option nameDaniel Eklöf2020-09-05-3/+1
|
* render: optionally enable heuristics that deal with private usage area charsDaniel Eklöf2020-09-03-0/+17
| | | | | | | | | | | | | | Try to detect double-width *glyphs* for single-width *characters*, and allow them to overflow into the next cell. This is only done for single-width chars with a glyph width that is at least 1.5 cells wide, but at most 3 cells. The feature is gated by the new ‘tweak.allow-overflowing-double-width-glyphs’, and is disabled by default. Closes #116
* doc: foot.ini: highlight configuration file paths with bold, not italic/underlineDaniel Eklöf2020-08-27-5/+5
|
* doc: rename footrc.5 to foot.ini.5, and update referencesDaniel Eklöf2020-08-27-0/+557