aboutsummaryrefslogtreecommitdiff
path: root/doc/foot.ini.5.scd (follow)
Commit message (Collapse)AuthorAgeLines
* term: only scale using DPI if *all* monitors have a scaling factor or oneDaniel Eklöf2021-09-24-2/+4
| | | | | | | | | | | | | | | | | | | | With dpi-aware=auto (the default), scale fonts using DPI *only* if *all* available monitors have a scaling factor of one. The idea is this: if a user, with multiple monitors, have enabled scaling on *at least* one monitor, he/she has most likely done so to match the size of his/hers other monitors. For example, if the user has one monitor with a scaling factor of one, and another one with a scaling factor of two, he/she expects things to be twice as large on the second monitor. If we (foot) scale using DPI on the first monitor, and using the scaling factor on the second monitor, foot will *not* look twice as big on the second monitor (this was the old behavior of dpi-aware=auto). Part of #714
* doc: foot.ini: remove stray double quote characterDaniel Eklöf2021-09-22-1/+1
|
* doc: foot.ini: font: add reference to dpi-aware optionDaniel Eklöf2021-09-22-1/+2
|
* doc: foot.ini: mention how dpi-aware interacts with :pixelsize=NDaniel Eklöf2021-09-22-0/+7
|
* doc: foot.ini: mention how dpi-aware interacts with bitmap fontsDaniel Eklöf2021-09-22-5/+11
|
* doc: Document that the default section can be reopened as [main]Arnavion2021-09-09-3/+4
|
* main: verify primary font is monospaced at startupDaniel Eklöf2021-08-31-0/+11
| | | | | | | | | | Load a couple of ASCII glyphs and check if their advance widths matches. If not, warn the user that the font is probably not monospaced. This can be disabled by setting tweak.font-monospace-warn=no. Closes #704.
* terminfo: install to $datadir/foot/terminfo by default, append to TERMINFO_DIRSDaniel Eklöf2021-08-17-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of 2021-07-31, ncurses ships its own version of foot’s terminfo. Since: * It doesn’t have the non-standard Sync,Tc,setrgbf,setrgbb capabilities. * It doesn’t set hs,fsl,dsl (statusbar). * We want to be able to update our termminfo without waiting for an ncurses release. * Foot should be installable and usable on Linux systems that doesn’t have the latest ncurses. we still want to ship our own version. We can however not install it to the default terminfo location (e.g. /usr/share/terminfo), since it will collide with the ncurses provided files. Our options are to either rename our terminfo to something else, or to keep the name, but install our terminfo files somewhere else. The first option would be the easy one. However, I think it makes sense to use the same name. For example, a user that SSH’s into a remote system that does *not* have our own version installed, but *does* have the ncurses one, will gracefully fall back to that one, which is better than manually having to set e.g. TERM=xterm-256color. Now, if we want to use the same name, we need to install it somewhere else. But where? And how do we ensure our version is preferred over the ncurses one? I opted to $datadir/foot/terminfo (e.g. /usr/share/foot/terminfo) by default. It makes it namespaced to foot (i.e. we’re not introducing a new “standard” terminfo location), thus guaranteeing it wont collide with ncurses. To enable applications to find it, we export TERMINFO_DIRS. This is a list of *additional* directories to search for terminfo files. If it’s already defined, we *append* to it. The nice thing with this is, if there’s no terminfo in that location (e.g. when you SSH into a remote), the default terminfo location is *also* searched. But only *after* having searched through TERMINFO_DIRS. In short: our version is preferred, but the ncurses one (or an older version of our terminfo package!) will be used if ours cannot be found. To enable packagers full control over the new behavior, the existing meson command line options have been modified, and a new option added: -Dterminfo=disabled|enabled|auto: *build* and *install* the terminfo files. -Dcustom-terminfo-install-location=<path>: *where* the terminfo files are expected to be found. This *needs* to be set *even* if -Dterminfo=disabled. For example, if the packaging script builds and packages the terminfo files separate from the regular foot build. The path is *relative to $prefix*, and defaults to $datadir/foot/terminfo. This is the value that will be appended to TERMINFO_DIRS. Note that you can set it to ‘no’, in which case foot will *not* set/modify TERMINFO_DIRS. Only do this if you don’t intend to package foot’s terminfo files at all (i.e. you plan on using the ncurses ones only). -Ddefault-terminfo=foot. Allows overriding the default TERM value. This should only be changed if the target platform doesn’t support terminfo files. Closes #671
* config: add url.uri-charactersDaniel Eklöf2021-08-09-0/+7
| | | | | | | | | | | | This option specifies the characters allowed in the auto-detected URLs. Any character not in this set constitutes an URL delimiter, and will never be included in auto-detected URLs. This option does not affect OSC-8 URLs. Closes #654
* doc: foot.ini: include paths are allowed to begin with ~/Daniel Eklöf2021-07-30-6/+4
|
* doc: foot.ini: indent listsDaniel Eklöf2021-07-30-14/+14
|
* Only brighten palette colors with bold-text-in-bright=palette-basedDavid Rosca2021-07-26-2/+2
|
* doc: foot.ini: mention that csd.font is sized using the title bar sizeDaniel Eklöf2021-07-24-1/+3
|
* config: add csd.font optionDaniel Eklöf2021-07-24-0/+4
|
* render: Allow cells to bleed into their neighborTimur Celik2021-07-17-22/+12
| | | | | | | | | | | | | | | | This patch adds a `confined` flag to each cell to track if the last rendered glyph bled into it's right neighbor. To keep things simple, bleeding into any other neighbor cell than the immediate right one is not allowed. This should cover most use cases. Before rendering a row we now do a prepass and mark all cells unclean that are affected by a bleeding neighbor. If there are consecutive bleeding cells, the whole group must be re-rendered even if only a single cell has changed. The patch also deprecates both old overflowing glyph options *allow-overflowing-double-width-glyphs* and *pua-double-width* in favor of a single new one named *overflowing-glyphs*.
* config: add locked-title=no|yesDaniel Eklöf2021-07-04-0/+4
| | | | Closes #386
* doc: foot.ini.5: typo: relay-size-ms -> resize-delay-msDaniel Eklöf2021-07-02-2/+2
|
* config: rename at-most-2 (value for grapheme-width-method) to double-widthDaniel Eklöf2021-07-01-4/+4
|
* config: add tweak.grapheme-width-method=wcswidth|at-most-2Daniel Eklöf2021-07-01-0/+18
|
* doc: foot.ini: grapheme-shaping: mention regular compose charactersDaniel Eklöf2021-06-24-2/+4
|
* wip: grapheme shapingDaniel Eklöf2021-06-24-0/+22
|
* config: add csd.button-color optionDaniel Eklöf2021-06-20-6/+10
| | | | | | | | This option controls the foreground color of the minimize/maximize/close buttons. I.e. the color used to draw the minimize/maximize/close glyphs. It defaults to default background color.
* config: add underline-offset optionDaniel Eklöf2021-06-17-4/+18
| | | | | | | | This option allows the user to configure a custom underline offset. That is, use the user provided offset instead of the font provided one. Closes #490
* config: add boolean option tweak.pua-double-widthDaniel Eklöf2021-06-01-1/+13
| | | | | | | When enabled, PUA (Private Usage Area) codepoints are always treated as double-width glyphs, regardless of the actual glyph width. Requires allow-overflowing-double-width-glyphs=yes
* config: add ‘include’ directiveDaniel Eklöf2021-05-28-0/+16
| | | | | | | | | | | | | | | This allows you to include sub-configurations. For example, theme files. The ‘include’ directive is a top-level keyword. I.e. it cannot be used inside sections. * The included file must be specified with an absolute path * The included file is parsed in its own scope * Nested includes are allowed * Multiple include directives are allowed Closes #555
* notify: add ${window-title}Daniel Eklöf2021-05-27-0/+5
|
* config: notify: change default value to use ${app-id}Daniel Eklöf2021-05-27-1/+1
| | | | | Make the default value of ‘notify’ use ${app-id} for icon and application name.
* Merge branch 'ctrl-c-cancel'Craig Barnes2021-05-25-2/+3
|\
| * config: bind ctrl+c to "cancel" in search/url mode by defaultCraig Barnes2021-05-25-2/+3
| | | | | | | | Closes #544
* | doc: foot.ini: fix default key combos for "cursor-right-word" actionCraig Barnes2021-05-24-1/+1
|/
* config: url.protocols: make it comma separated, for consistencyDaniel Eklöf2021-05-22-4/+5
|
* config: add url.protocolsDaniel Eklöf2021-05-22-0/+7
| | | | | | | This makes the protocols recognized by auto-detected URLs configurable. Closes #531
* config: move url-mode related options to a dedicated section, ‘url’Daniel Eklöf2021-05-22-21/+24
|
* config: add cursor.underline-thicknessDaniel Eklöf2021-05-22-3/+15
| | | | | | | | | | | | | Works in pretty much the same way as ‘beam-thickness’, except that the default value is “the font’s underline thickness”. This means, that when unset, the cursor underline thickness scales with the font size. But, when explicitly set, either to a point size value, or a pixel size, it remains fixed at that size. Closes #524
* config: add tweak.box-drawing-solid-shades=yes|noDaniel Eklöf2021-05-17-0/+10
| | | | | | | | | | When enabled, shades are rendered as solid blocks, using a darker variant of the current foreground color. When disabled, shades are instead rendered in a checker box pattern, using the foreground color unmodified. Default is enabled.
* configure full color palette in foot.iniRyan Farley2021-05-08-3/+9
| | | | | Allow the use of numeric keys in [colors] to configure the full set of 256 colors in the palette. Fixes #489
* style, consistent bool names, deprecate old configRyan Farley2021-05-07-5/+5
|
* enhanced bell configurationRyan Farley2021-05-07-26/+33
| | | | | | | | | | Add a separate section for bell configuration, with a bell-specific command option and a setting to allow that command to run without regard to keyboard focus (for those of us who enjoy being beeped at at all times, for example). The actions are also no longer mutually exclusive; this is primarily anticipating urgency support which cannot be replicated outside the process (in server mode anyway) and would thus be complementary to any notification or arbitrary command.
* doc: foot.ini: update max-shm-pool-size-mb sectionDaniel Eklöf2021-05-05-7/+10
| | | | | | | * less highlighting * it’s ‘virtual *address space*’ * mention it’s only supported on Linux * mention it’s only supported on 64-bit archs (but not necessarily x86_64)
* config: add ‘beam-thickness’ optionDaniel Eklöf2021-04-30-5/+10
| | | | | | | | | | | * Rename cursor.style value ‘bar’ to ‘beam’. ‘bar’ remains recognized, but should eventually be deprecated and then removed. * Add ‘cursor.beam-thickness’ option, a pt-or-px value specifying the thickness of the beam cursor. Defaults to 1.5pt. * Rename (and export) pt_or_px_as_pixels() to term_pt_or_px_as_pixels() * Change term_pt_or_px_as_pixels() to round point values instead of truncating them.
* config: bold-text-in-bright: add ‘palette-based’ as a special valueDaniel Eklöf2021-04-17-2/+10
| | | | | | | | | When ‘bold-text-in-bright’ is set ‘to palette-based’, colors matching one of the 8 regular palette colors are brightened by using the corresponding bright palette color. Other colors, or all colors if ‘bold-text-in-bright’ is set to ‘yes|true’, are brightened by increasing the luminance.
* doc: foot.ini: re-phrase the box-drawings-uses-font-glyphs sectionDaniel Eklöf2021-04-10-2/+3
|
* doc: foot.ini: codespell: antaliasing -> antialiasingDaniel Eklöf2021-04-09-1/+1
|
* config: add box-drawings-uses-font-glyphs=no|yes optionDaniel Eklöf2021-04-09-0/+18
| | | | | | | | | When disabled, we render box drawing characters ourselves. This is the default. When enabled, we instead use font glyphs. I.e. no special treatment. Closes #430
* doc: foot.ini: fix default value for delete-next-wordDaniel Eklöf2021-04-05-1/+1
|
* doc: foot.ini: update default key bindings - use lower case keysDaniel Eklöf2021-03-04-7/+7
|
* doc: foot.ini: key combos must *not* include shift and be in upper caseDaniel Eklöf2021-03-04-3/+3
|
* doc: use ‘fuzzel’ instead of ‘bemenu’ in examplesDaniel Eklöf2021-02-26-1/+1
|
* urls: OSC-8 URLs can now optionally be underlined outside of url-modeDaniel Eklöf2021-02-21-1/+13
| | | | | | | | | | | | | | | | | | | | | This patch adds a new configuration option, ‘osc8-underline=url-mode|always’. When set to ‘url-mode’, OSC-8 URLs are only highlighted (i.e. underlined) in url-mode, just like auto-detected URLs. When set to ‘always’, they are always underlined, regardless of mode, and regardless of their other attributes. This is implemented by tagging collected URLs with a boolean, instructing urls_render() and urls_reset() whether they should update the cells’ ‘url’ attribute or not. The OSC-8 collecter sets this based on the value of ‘osc8-underline’. Finally, when closing an OSC-8 URL, the cells are immediately tagged with the ‘url’ attribute if ‘osc8-underline’ is set to ‘always’.
* config: change default key binding for toggle-url-visible to ‘t’Daniel Eklöf2021-02-21-1/+1
|
* urls: add key binding that toggles whether URLs are displayed on jump-labelDaniel Eklöf2021-02-21-0/+14
| | | | | | | | | | | | | | | | | By default, the URL isn’t shown on the jump-label. For auto-detect URLs, doing so is virtually always useless, as the URL is already visible in the grid. For OSC-8 URLs however, the URL is often _not_ visible in the grid. Many times, seeing the URL is still not needed (if you’re doing ‘ls --hyperlink’, you already know what the URIs are). But it is still useful to have a way to show the URLs. This patch adds a new key binding action that can be used in url-mode to toggle the URL on and off in the jump label. It is bound to ctrl+t by default.
* doc: foot.ini: notifications are inhibited while we’re focusedDaniel Eklöf2021-02-14-3/+7
| | | | Closes #328
* doc: foot.ini.5: document jump-label-lettersDaniel Eklöf2021-02-13-0/+4
|
* meson: convert -Dterminfo from a boolean to a feature optionDaniel Eklöf2021-02-09-1/+1
| | | | Patch from Jan Beich
* readme: add ctrl+shift+u, with description, to the list of default key bindingsDaniel Eklöf2021-02-07-4/+4
|
* config: add colors.jump_labels and colors.urlsDaniel Eklöf2021-02-07-0/+9
| | | | | | | | | | * colors.jump_labels configures the foreground and background colors used when rendering URL jump labels. Defaults to “regular0 regular3” (i.e. black on yellow). * colors.urls configures the color to use when highlighting URLs in URL mode. Note that we aren’t currently doing any highlighting... Defaults to regular3 (i.e. yellow).
* config: add show-urls-copy actionDaniel Eklöf2021-02-07-0/+5
| | | | | | This works just like show-urls-launch, except that instead of opening the URL (typically using xdg-open), it is placed in the clipboard when activated.
* config: show-urls-launch: change default key binding to ctrl+shift+uDaniel Eklöf2021-02-07-1/+1
|
* config: rename ‘show-urls’ to ‘show-urls-launch’Daniel Eklöf2021-02-07-1/+1
|
* config: add ctrl+d as (yet another) default binding url-bindings.cancelDaniel Eklöf2021-02-07-1/+1
|
* config: add ‘url-launch’ option, defaulting to “xdg-open ${url}”Daniel Eklöf2021-02-07-0/+4
|
* config: add infrastructure to handle URL mode specific key bindingsDaniel Eklöf2021-02-07-0/+16
| | | | | | * Add “show-urls” action to regular key bindings * Add url-bindings section to foot.ini * Add “cancel” action to URL mode key bindings
* config: promote tweak.resize-delay-ms to a real, supported optionDaniel Eklöf2021-01-26-19/+19
|
* doc: foot.ini: resize-delay-ms: language tweaksDaniel Eklöf2021-01-26-3/+4
|
* doc: foot.ini: explicitly say that 0 disables the delayDaniel Eklöf2021-01-26-1/+2
|
* doc: foot.ini: resize-delay-msDaniel Eklöf2021-01-26-0/+17
|
* doc: foot.ini: selection-target=none|primary|clipboard|bothDaniel Eklöf2021-01-23-6/+11
|
* meson: optionalize terminfo dependencyJan Beich2021-01-23-1/+2
| | | | | | | | ncurses on FreeBSD still uses termcap(5) while foot works fine with xterm-256color sans status line and visible bell. Having more than one ncurses version installed may break other applications. Document -Dterminfo=false uses --term=xterm-256color by default
* config: add ‘select-extend-character-wise’ bind actionDaniel Eklöf2021-01-14-10/+26
| | | | | | | This forces the (new) selection mode to be character-wise when extending a word- or line-wise selection. Default key binding is ctrl+RMB.
* doc: foot.ini: tweak: document box-drawing-base-thicknessDaniel Eklöf2021-01-12-0/+7
|
* doc: foot.ini: remove mention of geometry; this option has been removedDaniel Eklöf2021-01-11-3/+0
|
* doc: foot.ini: dpi-aware: shorten sentenceDaniel Eklöf2021-01-11-2/+2
|
* doc: foot.ini: line-height: “no set” -> “not set”Daniel Eklöf2021-01-11-1/+1
|
* doc: foot.ini: remove empty line after ‘font’ optionsDaniel Eklöf2021-01-11-1/+0
|
* doc: foot.ini: line-height, letter-spacing and offsets are in points (by default)Daniel Eklöf2021-01-11-6/+16
|
* doc: foot.ini: document line-height, letter-spacing and letter offsetsDaniel Eklöf2021-01-11-0/+22
|
* doc: foot.ini: put ‘shell’, ‘login-shell’ and ‘term’ firstDaniel Eklöf2021-01-11-13/+13
|
* config: add optional ‘center’ argument to ‘pad’Daniel Eklöf2021-01-06-1/+12
| | | | | | | | | | When set, the grid contents is centered in the window. I.e. the left/right and top/bottom margins are equal (+- 1px). This causes the content to “jump” while doing an interactive resize, but may still be preferred in e.g. a tiling WM. Closes #273
* doc: foot.ini: remove FONT FORMAT section, expand description of ‘font’Daniel Eklöf2020-12-31-12/+11
|
* Fix typoBirger Schacht2020-12-26-1/+1
| | | | programatically -> programmatically
* 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.