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
1fuzzel.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.3031 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.3435 - 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.3940 Default: _not set_.4142*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_4849*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 the62 *dpi-aware* option. See *FONT CONFIG* below for details.6364 Examples:65 - Dina:weight=bold:slant=italic66 - Courier New:size=1267 - Fantasque Sans Mono:fontfeatures=ss016869 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*.7778 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.8182 In this mode, the monitor's scaling factor is ignored; doubling83 the scaling factor will *not* double the font size.8485 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.8889 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.9495 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.99100 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.106107 Default: _auto_.108109*gamma-correct-blending*110 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.114115 Compared to the default (disabled), bright glyphs on a dark116 background will appear thicker, and dark glyphs on a light117 background will appear thinner.118119 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.125126 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.130131 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.134135 It is not possible to enable gamma-correct blending in cairo136 enabled builds of fuzzel, since cairo does not support 16-bit137 image buffers.138139*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: _"> "_.145146*message*147 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.150 For details on how long lines are treated, see *message-mode*.151152*message-mode*153 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.159160 *expand*: If the longest line in *message* is longer than *width*,161 make the dialogue box wider to accommodate *message*.162163*icon-theme*164 Icon theme. Note that the name is case sensitive. Default:165 _default_.166167*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.179180 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:183184 - filename185 - name186 - generic187 - exec188 - categories189 - keywords190 - comment191192 "filename" is the ".desktop" file name.193194 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*.204205 *exact*: what you type is matched exactly against each field in206 the *fields* list.207208 *fzf*: fzf-style matching, where substrings from what you have209 typed are matched against each field in the *fields* list.210211 *fuzzy*: levenshtein-based fuzzy matching of what you have typed212 against each field in the *fields* list.213214 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).222223 Disabling this can improve search latency when searching very224 large data sets.225226 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.233234 Default: _no_.235236*filter-desktop*237 Boolean. Filter desktop files based on the value of238 XDG_CURRENT_DESKTOP. Default: _no_.239240*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*247 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_.262263*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.269 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_ICON284285 Default: _not set_.286287*anchor*288 Set window anchor, i.e. where on screen the window will be289 displayed. You can choose one from:290291 - top-left292 - top293 - top-right294 - left295 - center296 - right297 - bottom-left298 - bottom299 - bottom-right300301 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_.315316*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_.320321*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_.327328*width*329 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_.333334*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"351 matches, compared to the full window size. Set to 0 or 1 to disable352 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*.364365 *top* renders above normal windows, but typically below fullscreen366 windows and lock screens.367368 *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.372373 Default: _overlay_374375*keyboard-focus*376 Keyboard focusing mode, valid modes are *exclusive* and *on-demand*.377378 *exclusive* locks keyboard focus to fuzzel, receiving all keyboard379 input until closed.380381 *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.386387 Default: _exclusive_388389*exit-on-keyboard-focus-loss*390 Boolean. If true, exit when the fuzzel window loses keyboard focus.391392 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.396397 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.404405 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.408409*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.414415 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.418419*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_.427428*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*.432433 *none*, *nearest* and *bilinear* are the fastest options, but also434 have the worst looking results.435436 *cubic*, *lanczos2*, *lanczos3* and *lanczos3-stretched* are the437 slowest options, with the best looking results.438439 *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.442443 Default: _box_444445*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_.449450*auto-select*451 Boolean. When one entry is left, automatically select it.452 Default: _no_.453454*enable-mouse*455 Boolean. Enable mouse input.456 Default: _yes_.457458# 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_.468469*message*470 Text (foreground) color of the message string. Default:471 _657b83ff_.472473*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_.514515*selection-radius*516 Amount of corner "roundness" for the selected entry. Default: _0_.517518519# 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_.602603*delete-line*604 Deletes the entire input. Default: _Control+Shift+BackSpace_.605606*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_.619620*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.670671 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_691692# 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.728729# SEE ALSO730731- *fuzzel*(1)732- *https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html*733- *https://codeberg.org/dnkl/fuzzel*