Skip to content
Myr

lint: remove EOL whitespace from doc/

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This makes some tools happy that highlight it. Also, other tools accidentally add it, and having none makes it easy to automate all of it rather than some of it.

authored by Mark Stosberg · committed by Mark Stosberg · parent 6de06b9 · Browse files · 2 files+86 added−86 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+86 added−86 removed

  • other:+86 added−86 removed

2 files+86 added−86 removed

modified:doc/fuzzel.1.scd+43 added-43 removed
34 unmodified lines
35*--cache*=_PATH_36 Use a custom cache location. Fuzzel uses this file to cache the37 most commonly launched applications (to be able to sort them at38 the top).39 3940 You can also use this option to enable caching of dmenu41 entries. It is recommended that you use a separate cache file for42 each "type" of dmenu invocation; i.e. one for the browser history,43 another for emojis etc.4445 Set to /dev/null to disable caching.46 4647 Default: _XDG_CACHE_HOME/fuzzel_4849*-o*,*--output*=_OUTPUT_50 Specifies the monitor to display the window on. Autocompletion is available
14 unmodified lines
65*-D*,*--dpi-aware*=_no|yes|auto_66 When set to *yes*, fonts are sized using the monitor's DPI, making67 a font of a given point size have the same physical size,68 regardless of monitor.69 6970 In this mode, the monitor's scaling factor is ignored; doubling71 the scaling factor will *not* double the font size.72 7273 When set to *no*, the monitor's DPI is ignored. The font is74 instead sized using the monitor's scaling factor; doubling the75 scaling factor *does* double the font size.76 7677 Finally, if set to *auto*, fonts will be sized using the monitor's78 DPI if _all_ monitors have a scaling factor of 1. If at least one79 monitor as a scaling factor larger than 1 (regardless of whether80 the fuzzel window is mapped on that monitor or not), fonts will be81 scaled using the scaling factor.82 8283 Note that this option typically does not work with bitmap fonts,84 which only contains a pre-defined set of sizes, and cannot be85 dynamically scaled. Whichever size (of the available ones) that86 best matches the DPI or scaling factor, will be used.87 8788 Also note that if the font size has been specified in pixels89 (*:pixelsize=*_N_, instead of *:size=*_N_), DPI scaling90 (*dpi-aware=yes*) will have no effect (the specified pixel size91 will be used as is). But, if the monitor's scaling factor is used92 to size the font (*dpi-aware=no*), the font's pixel size will be93 multiplied with the scaling factor.94 9495 Default: _auto_9697*--gamma-correct*98 Do gamma-correct blending in linear color space. This is how font99 glyphs are supposed to be rendered, but since nearly no100 applications or toolkits are doing it on Linux, the result may not101 look like you are used to.102 102103 Compared to the default (disabled), bright glyphs on a dark104 background will appear thicker, and dark glyphs on a light105 background will appear thinner.106 106107 FreeType can limit the effect of the latter, with a technique108 called stem darkening. It is only available for CFF fonts109 (OpenType, .otf) and disabled by default (in FreeType). You can110 enable it by setting the environment variable111 *FREETYPE_PROPERTIES="cff:no-stem-darkening=0"* before starting112 fuzzel.113 113114 Also be aware that many fonts have been developed on systems that115 do not do gamma-correct blending, and may therefore look thicker116 than intended when rendered with gamma-correct blending, since the117 font designer set the font weight based on incorrect rendering.118 118119 In order to represent colors faithfully, higher precision image120 buffers are required. For this reason, fuzzel uses 16-bit image121 buffers (instead of 8-bit) when gamma-correct blending is enabled.122 122123 It is not possible to enable gamma-correct blending in cairo124 enabled builds of fuzzel, since cairo does not support 16-bit125 image buffers.126
3 unmodified lines
130*--prompt-only*=_PROMPT_131 Same as *--prompt*, but in *--dmenu* mode it also:132 - does not read anything from STDIN133 - sets *--lines* to 0134 134135 In non-dmenu mode it behaves exactly like *--prompt*.136137*--hide-prompt*138 Hide the prompt line, making the window smaller. Input is still
13 unmodified lines
152153*--icon-theme*=_NAME_154 Icon theme to use. Note that this option is case sensitive; the155 name must match the theme's folder name.156 156157 Example: _Adwaita_.158 158159 Default: _default_.160161*-I*,*--no-icons*162 Do not render any icons.
2 unmodified lines
165 Hide application list until something is typed.166167*-F*,*--fields*=_FIELDS_168 Comma separated list of XDG Desktop entry fields to match against:169 169170 - *filename*: the .desktop file's filename171 - *name*: the application's name (title)172 - *generic*: the application's generic name173 - *exec*: the applications's executable, as specified in the desktop174 file. Note: may include command line options as well.175 - *keywords*: the application's keywords176 - *categories*: the application's categories177 - *comment*: the application's comment178 178179 Default: _filename,name,generic_180181*--password*=[_CHARACTER_]182 Password input. Render all typed text as _CHARACTER_. If
19 unmodified lines
202203*-a*,*--anchor*=_ANCHOR_204 Set window anchor, i.e. where on screen the window will be205 displayed. You can choose one from:206 206207 - top-left208 - top209 - top-right210 - left
1 unmodified line
212 - right213 - bottom-left214 - bottom215 - bottom-right216 216217 Default: _center_218219*--x-margin*=_MARGIN_220 Horizontal margin away from the anchor point in pixels. Default: _0_.
151 unmodified lines
372373*--layer*=_top_|_overlay_374 Which layer to render the fuzzel window on. Valid values are *top*375 and *overlay*.376 376377 *top* renders above normal windows, but typically below fullscreen378 windows and lock screens.379 379380 *overlay* renders on top of both normal windows and fullscreen381 windows. Note that the order is undefined if several windows use382 the same layer. Since e.g. lock screens typically use *overlay*,383 that means fuzzel may or may not appear on top of a lock screen.384 384385 Default: _overlay_386387*--keyboard-focus*=_exclusive_|_on-demand_388 Keyboard focusing mode, valid modes are *exclusive* and *on-demand*.389 389390 *exclusive* locks keyboard focus to fuzzel, receiving all keyboard391 input until closed.392 392393 *on-demand* makes fuzzel focus like a regular window, allowing other394 windows to take keyboard focus by e.g. clicking on them.395 By default switching keyboard focus will immediately close fuzzel,396 using *--no-exit-on-keyboard-focus-loss* allows interacting with397 other windows while fuzzel is open.398 398399 Default: _exclusive_400401*--no-exit-on-keyboard-focus-loss*402 Do not exit when losing keyboard focus. This can be useful on
35 unmodified lines
438*--scaling-filter*=_FILTER_439 Scaling filter to use when down scaling PNGs. One of *none*,440 *nearest*, *bilinear*, *box*, *linear*, *cubic*, *lanczos2*,441 *lanczos3* and *lanczos3-stretched*.442 442443 *none*, *nearest* and *bilinear* are the fastest options, but also444 have the worst looking results.445 445446 *cubic*, *lanczos2*, *lanczos3* and *lanczos3-stretched* are the447 slowest options, with the best looking results.448 448449 *box*, and to some degree, *linear*, are in the middle,450 performance wise, while in most cases still being just as, or451 close to, as good as *cubic* and the lanczos filters.452 452453 Default: _box_454455*-d*,*--dmenu*456 dmenu compatibility mode. In this mode, the list entries are read457 from stdin (newline separated). The selected entry is printed to458 stdout. If the input string does not match any of the entries, the459 input string is printed as is on stdout.460 460461 Alternatively, you can symlink the fuzzel binary to462 *dmenu*. Fuzzel will then start in dmenu mode, without the463 *--dmenu* argument.464 464465 Fuzzel also supports PNG and SVG icons, using Rofi's extended dmenu466 protocol. To set an icon for an entry, append467 *\\0icon\\x1f<icon-name>*. Example:468 468469 echo -en "Firefox\\0icon\\x1ffirefox" | fuzzel --dmenu470471 Fallback icons using comma-separated values are also supported.472 When the primary icon is not found, subsequent icons in the473 list will be tried until one is successfully loaded. Example:474 474475 echo -en "Firefox\\0icon\\x1ffirefox,web-browser,application-x-executable" | fuzzel --dmenu476477*--dmenu0*478 Like *--dmenu*, but input is NUL separated instead of newline
7 unmodified lines
486*--with-nth*=_N_|_FMT_487 Display the N:th column (1-based, tab separated by default, see488 *--nth-delimiter*) of each input line. When selected, the full489 input line is printed on stdout. dmenu mode only.490 490491 The argument can also be a format string (i.e free-format text),492 where *{N}* expands to the N:th column. Ranges on the form493 *{N..M}* and *{N..}* (open-ended) are also supported.494 494495 Example:496 ```497 printf "1\\tFirst\\n2\\tSecond" | fuzzel -d --with-nth=2498 ```499 499500 This will display the entries *First* and *Second*. When one of501 them is selected, the full input line (tabs included) are printed502 on stdout.503 503504 Setting it to *0* is the same as not specifying *--with-nth* at all.505506*--accept-nth*=_N_|_FMT_507 Output the N:th column (1-based, tab separated by default, see508 *--nth-delimiter*) of each input line to stdout. dmenu mode only.509 509510 The argument can also be a format string (i.e free-format text),511 where *{N}* expands to the N:th column. Ranges on the form512 *{N..M}* and *{N..}* (open-ended) are also supported.513 513514 Example:515 ```516 printf "1\\tFirst\\n2\\tSecond" | fuzzel -d --accept-nth=2517 ```518 518519 This will display the entries *1 First* and *2 Second*. Depending520 on which one is selected, *First* or *Second* will be printed to stdout.521 521522 Setting it to *0* is the same as not specifying *--accept-nth* at all.523524*--nth-delimiter*=_CHARACTER_525 Field (column) delimiter for *--with-nth* and *--accept-nth*. Must526 be a single ASCII character.527 527528 Default: _\\t_ (tab)529530*-R*,*--no-run-if-empty*531 Exit immediately, without showing the UI, if stdin is
93 unmodified lines
modified:doc/fuzzel.ini.5.scd+43 added-43 removed
25 unmodified lines
26# SECTION: main2728*include*29 Absolute path to configuration file to import.30 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.34 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.39 3940 Default: _not set_.4142*namespace*43 Namespace for the spawned layer shell surface. Useful for blocking
15 unmodified lines
59 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.63 6364 Examples:65 - Dina:weight=bold:slant=italic66 - Courier New:size=1267 - Fantasque Sans Mono:fontfeatures=ss0168 6869 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*.77 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.81 8182 In this mode, the monitor's scaling factor is ignored; doubling83 the scaling factor will *not* double the font size.84 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.88 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.94 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.99 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.106 106107 Default: _auto_.108109*gamma-correct*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.114 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.118 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.125 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.130 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.134 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.138
19 unmodified lines
158159*fields*160 Comma separated list of XDG Desktop entry fields to match161 against.162 162163 Even though fuzzel only displays the application names,164 matching can (and by default is) be done against other fields as165 well. Supported fields are:166 166167 - filename168 - name169 - generic170 - exec
12 unmodified lines
183 *--password=X*. Default: _\*_.184185*match-mode*186 One of *exact*, *fzf* and *fuzzy*.187 187188 *exact*: what you type is matched exactly against each field in189 the *fields* list.190 190191 *fzf*: fzf-style matching, where substrings from what you have192 typed are matched against each field in the *fields* list.193 193194 *fuzzy*: levenshtein-based fuzzy matching of what you have typed195 against each field in the *fields* list.196 196197 Default: _fzf_198199*sort-result*200 Boolean. Whether to sort the result or not. Disabling sorting
3 unmodified lines
204 still updated on exit).205206 Disabling this can improve search latency when searching very207 large data sets.208 208209 Default: _yes_210211*match-counter*212 Boolean. When enabled, the match count and total count is213 displayed on the right-hand side of the input prompt. Disabling214 the counter also improves performance when loading a very large215 number of dmenu entries from STDIN.216 216217 Default: _no_.218219*filter-desktop*220 Boolean. Filter desktop files based on the value of
35 unmodified lines
256257*anchor*258 Set window anchor, i.e. where on screen the window will be259 displayed. You can choose one from:260 260261 - top-left262 - top263 - top-right264 - left
1 unmodified line
266 - right267 - bottom-left268 - bottom269 - bottom-right270 270271 Default: _center_272273*x-margin*274 Horizontal margin away from the anchor point in pixels. Default: _0_.
55 unmodified lines
330331*layer*332 Which layer to render the fuzzel window on. Valid values are *top*333 and *overlay*.334 334335 *top* renders above normal windows, but typically below fullscreen336 windows and lock screens.337 337338 *overlay* renders on top of both normal windows and fullscreen339 windows. Note that the order is undefined if several windows use340 the same layer. Since e.g. lock screens typically use *overlay*,341 that means fuzzel may or may not appear on top of a lock screen.342 342343 Default: _overlay_344345*keyboard-focus*346 Keyboard focusing mode, valid modes are *exclusive* and *on-demand*.347 347348 *exclusive* locks keyboard focus to fuzzel, receiving all keyboard349 input until closed.350 350351 *on-demand* makes fuzzel focus like a regular window, allowing other352 windows to take keyboard focus by e.g. clicking on them.353 By default switching keyboard focus will immediately close fuzzel,354 using *exit-on-keyboard-focus-loss=no* allows interacting with355 other windows while fuzzel is open.356 356357 Default: _exclusive_358359*exit-on-keyboard-focus-loss*360 Boolean. If true, exit when the fuzzel window loses keyboard focus.361 361362 Setting this to false can be useful on compositors where enabling363 "focus-follows-mouse" causes fuzzel to exit as soon as the mouse364 is moved over another window. Sway (<= 1.7) exhibits this365 behavior, for example.366 366367 Default: _yes_368369*render-workers*370 Number of threads to use for rendering. Set to 0 to disable371 multithreading. Default: the number of available logical CPUs372 (including SMT). Note that this is not always the best value. In373 some cases, the number of physical _cores_ is better.374 374375 In case you have a ridiculous amount of cores and/or threads,376 consider limiting the number of *render-workers*, since fuzzel377 cannot parallelize more than the number of displayed entries.378
1 unmodified line
380 Number of threads to use for matching. Set to 0 to disable381 multithreading. Default: the number of available logical CPUs382 (including SMT). Note that this is not always the best value. In383 some cases, the number of physical _cores_ is better.384 384385 In case you have a ridiculous amount of cores and/or threads,386 consider limiting the number of *match-workers*, since fuzzel387 cannot parallelize more than the number of available entries.388
9 unmodified lines
398*scaling-filter*399 Scaling filter to use when down scaling PNGs. One of *none*,400 *nearest*, *bilinear*, *box*, *linear*, *cubic*, *lanczos2*,401 *lanczos3* and *lanczos3-stretched*.402 402403 *none*, *nearest* and *bilinear* are the fastest options, but also404 have the worst looking results.405 405406 *cubic*, *lanczos2*, *lanczos3* and *lanczos3-stretched* are the407 slowest options, with the best looking results.408 408409 *box*, and to some degree, *linear*, are in the middle,410 performance wise, while in most cases still being just as, or411 close to, as good as *cubic* and the lanczos filters.412 412413 Default: _box_414415*cache*416 Specify the default cache location. If unset,
228 unmodified lines
645*custom-1*, *custom-2*, ..., *custom-19*646 Execute the currently selected entry, then exit with a non-zero647 exit code. *custom-1* exits with exit code 10, *custom-2* with 11,648 *custom-3* with 12, and so on.649 649650 Default:651 - custom-1: _Mod1+1_652 - custom-2: _Mod1+2_653 - custom-3: _Mod1+3_
49 unmodified lines
703fallbacks, then it searches the fontconfig fallbacks of the first font in Fuzzel's list.704705This design allows a custom fallback sequence as well as custom font options for each706fallback.707 707708# SEE ALSO709710- *fuzzel*(1)711- *https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html*
1 unmodified line