fuzzel.ini.5.scd
This file
Path
doc/fuzzel.ini.5.scd
733 lines · 22.6 KiB
Last changed by
config docs: typo: gamma-correct -> gamma-correct-blendingspookyvisionbefore adoption302f228
History of this fileTake it
The walk stopped after 200 commits: lines older than 6a4c416 point at it.
changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 1–29why, one step back1fuzzel.ini(5)23# NAME4fuzzel.ini - configuration file for *fuzzel*(1)567# DESCRIPTION89*fuzzel* uses the standard _unix configuration format_, with section10based key/value pairs. The default section is usually unnamed,11i.e. not prefixed with a _[section]_. However it can also be12explicitly named _[main]_, say if it needs to be reopened after any of13the other sections.1415fuzzel will search for a configuration file in the following locations,16in this order:1718 - *XDG_CONFIG_HOME/fuzzel/fuzzel.ini* (defaulting to19 *~/.config/fuzzel/fuzzel.ini* if unset)20 - *XDG_CONFIG_DIRS/fuzzel/fuzzel.ini* (defaulting to21 */etc/xdg/fuzzel/fuzzel.ini* if unset)2223An example configuration file containing all options with their default value24commented out will usually be installed to */etc/xdg/fuzzel/fuzzel.ini*.2526# SECTION: main2728*include*29 Absolute path to configuration file to import.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 30why, one step back30changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 31–33why, one step back31 The import file has its own section scope. I.e. the including32 configuration is still in the default section after the include,33 regardless of which section the included file ends in.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 34why, one step back34changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 35–38why, one step back35 - The path must be an absolute path, or start with *~/*.36 - Multiple include directives are allowed, but only one path per37 directive.38 - Nested imports are allowed.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 39why, one step back39changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 40–41why, one step back40 Default: _not set_.41wayland: allow setting namespace in config and from the command linefrostybefore adoption5255c0a
lines 42–48why, one step back42*namespace*43 Namespace for the spawned layer shell surface. Useful for blocking44 fuzzel out from screencasts in your compositor if it shows sensitive45 information, such as passwords.4647 Default: _launcher_48changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 49–61why, one step back49*output*50 Output (monitor) to display on. You can list the available outputs51 with *wlr-randr* or with Sway using *swaymsg -t get_outputs*.5253 Example: _DP-1_5455 Default: Not set-- let the compositor choose output.5657*font*58 Comma separated list of fonts to use, in fontconfig format. That59 is, a font name followed by a list of colon-separated60 options. Most noteworthy is *:size=n*, which is used to set the61 font size. Note that the font size is also affected by thedocs: provide a primer on the fontconfig formatMark Stosbergbefore adoption67f93a2
line 62why, one step back62 *dpi-aware* option. See *FONT CONFIG* below for details.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 63why, one step back63changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 64–67why, one step back64 Examples:65 - Dina:weight=bold:slant=italic66 - Courier New:size=1267 - Fantasque Sans Mono:fontfeatures=ss01lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 68why, one step back68changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 69–76why, one step back69 Default: _monospace_.7071*use-bold*72 Boolean. When set, fuzzel may use bold fonts. For example, for the73 currently selected item. Default: _no_7475*dpi-aware*76 *auto*, *yes*, or *no*.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 77why, one step back77changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 78–80why, one step back78 When set to *yes*, fonts are sized using the monitor's DPI, making79 a font of a given size have the same physical size, regardless of80 monitor.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 81why, one step back81changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 82–83why, one step back82 In this mode, the monitor's scaling factor is ignored; doubling83 the scaling factor will *not* double the font size.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 84why, one step back84changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 85–87why, one step back85 When set to *no*, the monitor's DPI is ignored. The font is86 instead sized using the monitor's scaling factor; doubling the87 scaling factor *does* double the font size.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 88why, one step back88changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 89–93why, one step back89 Finally, if set to *auto*, fonts will be sized using the monitor's90 DPI if _all_ monitors have a scaling factor of 1. If at least one91 monitor as a scaling factor larger than 1 (regardless of whether92 the fuzzel window is mapped on that monitor or not), fonts will be93 scaled using the scaling factor.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 94why, one step back94changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 95–98why, one step back95 Note that this option typically does not work with bitmap fonts,96 which only contains a pre-defined set of sizes, and cannot be97 dynamically scaled. Whichever size (of the available ones) that98 best matches the DPI or scaling factor, will be used.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 99why, one step back99changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 100–105why, one step back100 Also note that if the font size has been specified in pixels101 (*:pixelsize=*_N_, instead of *:size=*_N_), DPI scaling102 (*dpi-aware=yes*) will have no effect (the specified pixel size103 will be used as is). But, if the monitor's scaling factor is used104 to size the font (*dpi-aware=no*), the font's pixel size will be105 multiplied with the scaling factor.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 106why, one step back106changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 107–108why, one step back107 Default: _auto_.108config docs: typo: gamma-correct -> gamma-correct-blendingspookyvisionbefore adoption302f228
line 109why, one step back109*gamma-correct-blending*Implement gamma-correct blendingDaniel Eklöfbefore adoption2d19826
lines 110–113why, one step back110 Boolean. When enabled, fuzzel will do gamma-correct blending in111 linear color space. This is how font glyphs are supposed to be112 rendered, but since nearly no applications or toolkits are doing113 it on Linux, the result may not look like you are used to.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 114why, one step back114Implement gamma-correct blendingDaniel Eklöfbefore adoption2d19826
lines 115–117why, one step back115 Compared to the default (disabled), bright glyphs on a dark116 background will appear thicker, and dark glyphs on a light117 background will appear thinner.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 118why, one step back118Implement gamma-correct blendingDaniel Eklöfbefore adoption2d19826
lines 119–124why, one step back119 FreeType can limit the effect of the latter, with a technique120 called stem darkening. It is only available for CFF fonts121 (OpenType, .otf) and disabled by default (in FreeType). You can122 enable it by setting the environment variable123 *FREETYPE_PROPERTIES="cff:no-stem-darkening=0"* before starting124 fuzzel.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 125why, one step back125Implement gamma-correct blendingDaniel Eklöfbefore adoption2d19826
lines 126–129why, one step back126 Also be aware that many fonts have been developed on systems that127 do not do gamma-correct blending, and may therefore look thicker128 than intended when rendered with gamma-correct blending, since the129 font designer set the font weight based on incorrect rendering.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 130why, one step back130Implement gamma-correct blendingDaniel Eklöfbefore adoption2d19826
lines 131–133why, one step back131 In order to represent colors faithfully, higher precision image132 buffers are required. For this reason, fuzzel uses 16-bit image133 buffers (instead of 8-bit) when gamma-correct blending is enabled.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 134why, one step back134Implement gamma-correct blendingDaniel Eklöfbefore adoption2d19826
lines 135–138why, one step back135 It is not possible to enable gamma-correct blending in cairo136 enabled builds of fuzzel, since cairo does not support 16-bit137 image buffers.138changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 139–145why, one step back139*placeholder*140 Text to display as placeholder in the input box. Default: empty.141142*prompt*143 String to use as input prompt. Note that trailing spaces are144 trimmed, unless the string is quoted. Default: _"> "_.145docs(config): correct `message` and `message-mode` option namesdanielwergbefore adoption876231f
line 146why, one step back146*message*config: add --mesg, --mesg-mode and --message-color command line optionsSlayerOfTheBadbefore adoption9fb7e6c
lines 147–149why, one step back147 Message to display above the prompt. Can contain some informational148 message, or can be used for having your prompt be above the input149 instead of in front. Supports newlines.docs(config): correct `message` and `message-mode` option namesdanielwergbefore adoption876231f
line 150why, one step back150 For details on how long lines are treated, see *message-mode*.config: add --mesg, --mesg-mode and --message-color command line optionsSlayerOfTheBadbefore adoption9fb7e6c
line 151why, one step back151docs(config): correct `message` and `message-mode` option namesdanielwergbefore adoption876231f
line 152why, one step back152*message-mode*config: add --mesg, --mesg-mode and --message-color command line optionsSlayerOfTheBadbefore adoption9fb7e6c
lines 153–159why, one step back153 One of *wrap*, and *expand*.154155 *wrap*: any line that is longer than *width* is wrapped to the156 following line. Wraps on space boundaries if available, trimming157 leading spaces caused by truncation. If no space is available,158 the line is broken up after *width* characters.159docs(config): correct `message` and `message-mode` option namesdanielwergbefore adoption876231f
lines 160–161why, one step back160 *expand*: If the longest line in *message* is longer than *width*,161 make the dialogue box wider to accommodate *message*.config: add --mesg, --mesg-mode and --message-color command line optionsSlayerOfTheBadbefore adoption9fb7e6c
line 162why, one step back162changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 163–164why, one step back163*icon-theme*164 Icon theme. Note that the name is case sensitive. Default:config: change default icon theme from 'hicolor' to 'default'Daniel Eklöfbefore adoptionc24a0da
line 165why, one step back165 _default_.changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 166–178why, one step back166167*icons-enabled*168 Boolean. When enabled, application icons (from the selected169 *icon-theme*) will be rendered. Default: _yes_.170171*hide-before-typing*172 Boolean. When enabled, application list will be hidden until the first173 letter is typed. When the prompt is cleared again, the list will appear.174 Default: _no_.175176*fields*177 Comma separated list of XDG Desktop entry fields to match178 against.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 179why, one step back179changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 180–182why, one step back180 Even though fuzzel only displays the application names,181 matching can (and by default is) be done against other fields as182 well. Supported fields are:lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 183why, one step back183changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 184–190why, one step back184 - filename185 - name186 - generic187 - exec188 - categories189 - keywords190 - commentdocs: clarify that "filename" is not an XDG field name.Mark Stosbergbefore adoption4b2cc7a
lines 191–193why, one step back191192 "filename" is the ".desktop" file name.193changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 194–203why, one step back194 Default: _filename,name,generic_.195196*password-character*197 Default character to use with the command line option198 *--password*. Note that this can be overridden on the command199 line, by explicitly specifying the character with200 *--password=X*. Default: _\*_.201202*match-mode*203 One of *exact*, *fzf* and *fuzzy*.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 204why, one step back204changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 205–206why, one step back205 *exact*: what you type is matched exactly against each field in206 the *fields* list.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 207why, one step back207changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 208–209why, one step back208 *fzf*: fzf-style matching, where substrings from what you have209 typed are matched against each field in the *fields* list.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 210why, one step back210changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 211–212why, one step back211 *fuzzy*: levenshtein-based fuzzy matching of what you have typed212 against each field in the *fields* list.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 213why, one step back213changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 214–222why, one step back214 Default: _fzf_215216*sort-result*217 Boolean. Whether to sort the result or not. Disabling sorting218 means no comparisons will be made between match219 results. I.e. launch count, match length, etc will be220 ignored. This effectively disables the cache (though, the cache is221 still updated on exit).222doc: fuzzel.ini: fix sort-result descriptionalex-huffbefore adoption4b2defd
lines 223–224why, one step back223 Disabling this can improve search latency when searching very224 large data sets.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 225why, one step back225changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 226–232why, one step back226 Default: _yes_227228*match-counter*229 Boolean. When enabled, the match count and total count is230 displayed on the right-hand side of the input prompt. Disabling231 the counter also improves performance when loading a very large232 number of dmenu entries from STDIN.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 233why, one step back233changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 234–236why, one step back234 Default: _no_.235236*filter-desktop*doc: clarify default value of filter-desktopDaniel Eklöfbefore adoption0baffbd
lines 237–238why, one step back237 Boolean. Filter desktop files based on the value of238 XDG_CURRENT_DESKTOP. Default: _no_.changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 239–246why, one step back239240*show-actions*241 Boolean. Some desktop files define "actions", in addition to the242 application itself. Examples are "new window", "preferences",243 etc. When this option is enabled, those actions will be listed by244 fuzzel. Default: _no_.245246*terminal*✨ Add {cmd} in --terminal command, like Rofi. (#600)Mark Stosbergbefore adoption08ef4de
lines 247–261why, one step back247 terminal command to use when launching 'terminal' programs.248249 The command may contain the placeholder _{cmd}_ which will be250 replaced with the actual command to be run. When _{cmd}_ is present,251 the command is **only** substituted in those locations and is **not**252 appended at the end.253254 Examples:255 - _foot -a '{cmd}' -T '{cmd}' {cmd}_ sets app-id and title to the256 command name, then executes it257 - _xterm -e {cmd}_ executes the command in xterm258 - _xterm -e_ (no {cmd}) uses old behavior: appends command after259 terminal args260261 Default: _$TERMINAL -e_.changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 262–268why, one step back262263*list-executables-in-path*264 Boolean. When enabled, the list will include executables265 from the PATH environment variable. Default: _no_.266267*launch-prefix*268 Prefix to add before argv of executed program.launch-prefix: Pass more environment variablesMark Stosbergbefore adoption72f6b2f
lines 269–284why, one step back269 If set, fuzzel will pass desktop file metadata through environment270 variables:271272 - DESKTOP_ENTRY_ID (also exported as FUZZEL_DESKTOP_FILE_ID for backward compatibility)273 - DESKTOP_ENTRY_PATH274 - DESKTOP_ENTRY_NAME275 - DESKTOP_ENTRY_COMMENT276 - DESKTOP_ENTRY_NAME_L (Localized)277 - DESKTOP_ENTRY_COMMENT_L (Localized)278 - DESKTOP_ENTRY_ICON279 And if launching an action:280 - DESKTOP_ENTRY_ACTION (Action identifier)281 - DESKTOP_ENTRY_ACTION_NAME282 - DESKTOP_ENTRY_ACTION_NAME_L (Localized)283 - DESKTOP_ENTRY_ACTION_ICON284changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 285–289why, one step back285 Default: _not set_.286287*anchor*288 Set window anchor, i.e. where on screen the window will be289 displayed. You can choose one from:lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 290why, one step back290changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 291–299why, one step back291 - top-left292 - top293 - top-right294 - left295 - center296 - right297 - bottom-left298 - bottom299 - bottom-rightlint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 300why, one step back300changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 301–315why, one step back301 Default: _center_302303*x-margin*304 Horizontal margin away from the anchor point in pixels. Default: _0_.305306 Note: this option has no effect when anchor=center, top or bottom.307308*y-margin*309 Vertical margin away from the anchor point in pixels. Default: _0_.310311 Note: this option has no effect when anchor=center, left or right.312313*lines*314 Number of matches to show. Default: _15_.315✨ New Feature: Hide Input Line (#597)Mark Stosbergbefore adoption1ea0283
lines 316–320why, one step back316*hide-prompt*317 Boolean. When set, hides the prompt line, making the window smaller.318 Input is still accepted though the prompt line is not displayed.319 Cannot be used with *prompt-only*. Default: _no_.320Add new --minimal-flag optionMark Stosbergbefore adoption6200008
lines 321–327why, one step back321*minimal-lines*322 Boolean. Adjust the number of lines to display to the minimum of323 _lines_ and the number of input lines. Only effective in dmenu324 mode. This allows fuzzel to size itself to the actual number of325 input lines rather than always showing the full _lines_326 rows. Default: _no_.327changelog: add missing refDaniel Eklöfbefore adoption6a4c416
line 328why, one step back328*width*render: use the width of 'o' instead of 'W' when calculating window widthDaniel Eklöfbefore adoption5b90bed
lines 329–332why, one step back329 Window width, in characters. Margins and borders not included. For330 variable width fonts this is an estimate, as the exact number of331 characters that will fit depends on which characters are being332 displayed. Default: _30_.changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 333–350why, one step back333334*tabs*335 Number of spaces a tab is expanded to. Default: _8_.336337*horizontal-pad*338 Horizontal padding, in pixels, between border and339 content. Default: _40_.340341*vertical-pad*342 Vertical padding, in pixels, between border and content. Default:343 _8_.344345*inner-pad*346 Vertical padding between prompt and match list, in347 pixels. Default: _0_.348349*image-size-ratio*350 The ratio of the large image displayed when there are only a "few"render: handle non-sensical image-size-ratio=0 caseMark Stosbergbefore adoption8a9af50
line 351why, one step back351 matches, compared to the full window size. Set to 0 or 1 to disablechangelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 352–363why, one step back352 the large images. Default: _0.5_.353354*line-height*355 Override line height from font metrics. Default: use font metrics.356357*letter-spacing*358 Additional letter spacing. Negative values are allowed. Default:359 _0_.360361*layer*362 Which layer to render the fuzzel window on. Valid values are *top*363 and *overlay*.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 364why, one step back364changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 365–366why, one step back365 *top* renders above normal windows, but typically below fullscreen366 windows and lock screens.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 367why, one step back367changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 368–371why, one step back368 *overlay* renders on top of both normal windows and fullscreen369 windows. Note that the order is undefined if several windows use370 the same layer. Since e.g. lock screens typically use *overlay*,371 that means fuzzel may or may not appear on top of a lock screen.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 372why, one step back372changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 373–374why, one step back373 Default: _overlay_374Add `keyboard-focus=exclusive|on-demand` command line and config optionbbb651before adoption9a0a38d
lines 375–376why, one step back375*keyboard-focus*376 Keyboard focusing mode, valid modes are *exclusive* and *on-demand*.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 377why, one step back377Add `keyboard-focus=exclusive|on-demand` command line and config optionbbb651before adoption9a0a38d
lines 378–379why, one step back378 *exclusive* locks keyboard focus to fuzzel, receiving all keyboard379 input until closed.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 380why, one step back380Add `keyboard-focus=exclusive|on-demand` command line and config optionbbb651before adoption9a0a38d
lines 381–385why, one step back381 *on-demand* makes fuzzel focus like a regular window, allowing other382 windows to take keyboard focus by e.g. clicking on them.383 By default switching keyboard focus will immediately close fuzzel,384 using *exit-on-keyboard-focus-loss=no* allows interacting with385 other windows while fuzzel is open.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 386why, one step back386Add `keyboard-focus=exclusive|on-demand` command line and config optionbbb651before adoption9a0a38d
lines 387–388why, one step back387 Default: _exclusive_388changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 389–390why, one step back389*exit-on-keyboard-focus-loss*390 Boolean. If true, exit when the fuzzel window loses keyboard focus.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 391why, one step back391changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 392–395why, one step back392 Setting this to false can be useful on compositors where enabling393 "focus-follows-mouse" causes fuzzel to exit as soon as the mouse394 is moved over another window. Sway (<= 1.7) exhibits this395 behavior, for example.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 396why, one step back396changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 397–403why, one step back397 Default: _yes_398399*render-workers*400 Number of threads to use for rendering. Set to 0 to disable401 multithreading. Default: the number of available logical CPUs402 (including SMT). Note that this is not always the best value. In403 some cases, the number of physical _cores_ is better.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 404why, one step back404doc: fuzzel.ini: *-workers: "if you have a ridiculous number of cores"Daniel Eklöfbefore adoptiona843274
lines 405–407why, one step back405 In case you have a ridiculous amount of cores and/or threads,406 consider limiting the number of *render-workers*, since fuzzel407 cannot parallelize more than the number of displayed entries.changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 408–413why, one step back408409*match-workers*410 Number of threads to use for matching. Set to 0 to disable411 multithreading. Default: the number of available logical CPUs412 (including SMT). Note that this is not always the best value. In413 some cases, the number of physical _cores_ is better.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 414why, one step back414doc: fuzzel.ini: *-workers: "if you have a ridiculous number of cores"Daniel Eklöfbefore adoptiona843274
lines 415–417why, one step back415 In case you have a ridiculous amount of cores and/or threads,416 consider limiting the number of *match-workers*, since fuzzel417 cannot parallelize more than the number of available entries.changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 418–427why, one step back418419*delayed-filter-ms*420 Time, in milliseconds, to delay refiltering when there are more421 matches than *delayed-filter-limit*. Default: _300_.422423*delayed-filter-limit*424 When there are more matches than this, switch from immediate425 refiltering to delayed refiltering (see426 *delayed-filter-ms*). Default: _20000_.427config: add scaling-filter optionDaniel Eklöfbefore adoption3866f60
lines 428–431why, one step back428*scaling-filter*429 Scaling filter to use when down scaling PNGs. One of *none*,430 *nearest*, *bilinear*, *box*, *linear*, *cubic*, *lanczos2*,431 *lanczos3* and *lanczos3-stretched*.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 432why, one step back432config: add scaling-filter optionDaniel Eklöfbefore adoption3866f60
lines 433–434why, one step back433 *none*, *nearest* and *bilinear* are the fastest options, but also434 have the worst looking results.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 435why, one step back435config: add scaling-filter optionDaniel Eklöfbefore adoption3866f60
lines 436–437why, one step back436 *cubic*, *lanczos2*, *lanczos3* and *lanczos3-stretched* are the437 slowest options, with the best looking results.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 438why, one step back438config: add scaling-filter optionDaniel Eklöfbefore adoption3866f60
lines 439–441why, one step back439 *box*, and to some degree, *linear*, are in the middle,440 performance wise, while in most cases still being just as, or441 close to, as good as *cubic* and the lanczos filters.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 442why, one step back442config: add scaling-filter optionDaniel Eklöfbefore adoption3866f60
lines 443–444why, one step back443 Default: _box_444changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 445–449why, one step back445*cache*446 Specify the default cache location. If unset,447 *$XDG_CACHE_HOME/fuzzel* will be used. Set to */dev/null* to448 disable caching. Default: _not set_.449✨ Add --auto-select opt. When one entry is left, automatically select it.Mark Stosbergbefore adoption5751a65
lines 450–453why, one step back450*auto-select*451 Boolean. When one entry is left, automatically select it.452 Default: _no_.453feat: config/cli option to disable mouse inputGingehbefore adoption8c9e76d
lines 454–457why, one step back454*enable-mouse*455 Boolean. Enable mouse input.456 Default: _yes_.457changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 458–468why, one step back458# SECTION: colors459460All color values are in RGBA.461462*background*463 Background color. Default: _fdf6e3ff_.464465*text*466 Text (foreground) color of unselected entries. Default:467 _657b83ff_.468config: add --mesg, --mesg-mode and --message-color command line optionsSlayerOfTheBadbefore adoption9fb7e6c
lines 469–472why, one step back469*message*470 Text (foreground) color of the message string. Default:471 _657b83ff_.472changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 473–514why, one step back473*prompt*474 Text (foreground) color of prompt character(s). Default:475 _586e75ff_.476477*placeholder*478 Text (foreground) color of the placeholder string. Default:479 _93a1a1ff_.480481*input*482 Text (foreground) color of input string. Default: _657b83ff_.483484*match*485 Text (foreground) color of the matched substring. Default:486 _cb4b16ff_.487488*selection*489 Background color of the selected entry. Default: _eee8d5ff_.490491*selection-text*492 Text (foreground) color of the selected entry. Default:493 _586e75ff_.494495*selection-match*496 Text (foreground) color of the matched substring of the497 selected entry. Default: _cb4b16ff_.498499*counter*=_HEX_500 The color of the match count stats printed at the right-hand side501 of the input prompt. See *COLORS*. Default: _93a1a1ff_.502503*border*504 Border color. Default: _002b36ff_.505506507# SECTION: border508509*width*510 Width of the border, in pixels. Default: _1_.511512*radius*513 Amount of corner "roundness". Default: _10_.514feat: border radius for selected entrieswisplbefore adoption9836d81
lines 515–518why, one step back515*selection-radius*516 Amount of corner "roundness" for the selected entry. Default: _0_.517518changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 519–602why, one step back519# SECTION: dmenu520521*mode*522 One of *text* or *index*. Determines what fuzzel prints on stdout523 when an entry is selected: *text* prints the entry itself, *index*524 prints the index of the selected entry. Index values start at zero525 for the first entry. Default: _text_.526527*exit-immediately-if-empty*528 Boolean. If enabled, fuzzel will not run at all (i.e. it will not529 open a window, and will not print anything on stdout) if there's530 nothing on stdin. Default: _no_.531532# SECTION: key-bindings533534This section lets you override the default key bindings.535536The general format is _action=combo1...comboN_. That is, each action537may have one or more key combinations, space separated. Each538combination is in the form _mod1+mod2+key_. The names of the modifiers539and the key *must* be valid XKB key names.540541Note that if *Shift* is one of the modifiers, the _key_ *must not* be542in upper case. For example, *Control+Shift+V* will never trigger, but543*Control+Shift+v* will.544545Note that *Alt* is usually called *Mod1*.546547*xkbcli interactive-wayland* can be useful for finding keysym names.548549A key combination can only be mapped to *one* action. Lets say you550want to bind *Control+k* to *next*. Since this is the default shortcut551for *delete-line-forward*, you must unmap the default binding. This can be552done by setting _action=none_; e.g. *delete-line-forward=none*.553554*cancel*555 Quit fuzzel without executing anything. Default: _Control+g556 Control+c Control+bracketleft Escape_.557558*execute*559 Execute the currently selected entry. Or, in dmenu mode, print the560 selected entry on stdout. Default: _Return KP_Enter Control+y_.561562*execute-or-next*563 If there is a single match, execute it. Or, in dmenu mode, print564 the selected entry on stdout. If there are more than one match,565 select the next entry. Wraps around when the last entry has been566 reached. Default: _Tab_.567568*execute-input*569 Execute the raw input as is, regardless of whether it matches570 anything in the list or not. In dmenu mode, prints the selected571 entry on stdout instead. Default: _Shift+Return Shift+KP_Enter_.572573*cursor-left*574 Moves the cursor one **character** to the left. Default: _Left575 Control+b_.576577*cursor-left-word*578 Moves the cursor one **word** to the left. Default: _Control+Left579 Mod1+b_.580581*cursor-right*582 Moves the cursor one **character** to the right. Default: _Right583 Control+f_.584585*cursor-right-word*586 Moves the cursor one **word** to the right. Default:587 _Control+Right Mod1+f_.588589*cursor-home*590 Moves the cursor to the beginning of the input. Default: _Home591 Control+a_.592593*cursor-end*594 Moves the cursor to the end of the input. Default: _End595 Control+e_.596597*delete-line-backward*598 Deletes everything before the cursor. Default: _Control+u_.599600*delete-line-forward*601 Deletes everything after the cursor. Default: _Control+k_.602Move delete-line closer to other delete-line-*Whyme Lyubefore adoption179cc8e
lines 603–605why, one step back603*delete-line*604 Deletes the entire input. Default: _Control+Shift+BackSpace_.605changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 606–618why, one step back606*delete-prev*607 Deletes the **character before** the cursor. Default: _BackSpace Control+h_.608609*delete-prev-word*610 Deletes the **word before** the cursor. Default: _Mod1+BackSpace611 Control+BackSpace Control+w_.612613*delete-next*614 Deletes the **character after** the cursor. Default: _Delete_.615616*delete-next-word*617 Deletes the **word after** the cursor. Default: _Mod1+d618 Control+Delete_.Add `delete-line` bindingbbb651before adoption3e7c9a2
line 619why, one step back619changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 620–669why, one step back620*insert-selected*621 Copies the selected entry to the prompt, replacing the current622 prompt. In application mode, the *Exec* line is inserted, and in623 dmenu mode the entry itself is used. Default: _Control+Tab_.624625*expunge*626 Removes the currently selected entry from the cache (of most627 commonly launched applications). Default: _Shift+Delete_.628629*clipboard-paste*630 Pastes from the _clipbard_. Default: _Control+v_ _XF86Paste_.631632*primary-paste*633 Pastes from the _primary selection_. This action is also bound to634 the middle mouse button (this is currently not configurable).635 Default: _Shift+Insert_ _Shift+KP_Insert_.636637*prev*638 Select the previous entry. Does *not* wrap around when the first639 entry has been reached. Default: _Up Control+p_.640641*prev-with-wrap*642 Select the previous entry. Wraps around when the first entry has643 been reached. Default: _ISO_Left_Tap_. (Shift+Tab)644645*prev-page*646 Switch to the previous page. Default: _PageUp KP_PageUp_.647648*next*649 Select the next entry. Does *not* wrap around when the last entry650 has been reached. Default: _Down Control+n_.651652*next-with-wrap*653 Select the next entry. Wraps around when the last entry has654 been reached. Default: _unbound_.655656*next-page*657 Switch to the next page. Default: _Page_Down KP_Page_Down_.658659*first*660 Select the first entry, on the first page. Default:661 _Control+Home_.662663*last*664 Select the last entry, on the last page. Default: _Control+End_.665666*custom-1*, *custom-2*, ..., *custom-19*667 Execute the currently selected entry, then exit with a non-zero668 exit code. *custom-1* exits with exit code 10, *custom-2* with 11,669 *custom-3* with 12, and so on.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 670why, one step back670changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 671–691why, one step back671 Default:672 - custom-1: _Mod1+1_673 - custom-2: _Mod1+2_674 - custom-3: _Mod1+3_675 - custom-4: _Mod1+4_676 - custom-5: _Mod1+5_677 - custom-6: _Mod1+6_678 - custom-7: _Mod1+7_679 - custom-8: _Mod1+8_680 - custom-9: _Mod1+9_681 - custom-10: _Mod1+10_682 - custom-11: _Mod1+11_683 - custom-12: _Mod1+12_684 - custom-13: _Mod1+13_685 - custom-14: _Mod1+14_686 - custom-15: _Mod1+15_687 - custom-16: _Mod1+16_688 - custom-17: _Mod1+17_689 - custom-18: _Mod1+18_690 - custom-19: _Mod1+19_691docs: provide a primer on the fontconfig formatMark Stosbergbefore adoption67f93a2
lines 692–727why, one step back692# FONT CONFIG693694Fontconfig uses a flexible string format for specifying fonts that695allows you to define font families, styles, weights, and various696properties. The basic syntax follows this pattern:697698 "Family Name:style=Style:weight=Weight:size=Size"699700Common Properties:701702- *family* - Font family name703- *style* - italic, oblique, roman704- *weight* - light, normal, bold, black (or numeric values 100-900)705- *size* - Point size706- *slant* - italic, oblique, roman707- *width* - condensed, normal, expanded708709710Fontconfig supports fallback fonts. You can specify multiple font711families separated by commas. The fallback fonts are searched in the712order they appear. If a glyph cannot be found in any of the fallback713fonts, the dynamic fallback list from fontconfig (for the primary font)714is searched. Ex:715716 "My Custom Font, DejaVu Sans:weight=bold, sans-serif"717718Fontconfig always returns something unless you don't have any fonts installed,719regardless of what font name you give it. You can check fonts that would be matched720with `fc-match -s YourFontName`.721722The font library Fuzzel uses, fcft, will search the explicit fallbacks whenever a glyph723cannot be found in the primary font. When it cannot find a glyph in the explicit724fallbacks, then it searches the fontconfig fallbacks of the first font in Fuzzel's list.725726This design allows a custom fallback sequence as well as custom font options for each727fallback.lint: remove EOL whitespace from doc/Mark Stosbergbefore adoptionc09c9a6
line 728why, one step back728changelog: add missing refDaniel Eklöfbefore adoption6a4c416
lines 729–733why, one step back729# SEE ALSO730731- *fuzzel*(1)732- *https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html*733- *https://codeberg.org/dnkl/fuzzel*