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
Provenance
- Commit
c09c9a6- Tree
87fbbcb- Author
Mark Stosberg <mark@stosberg.com>- Committer
Mark Stosberg <mark@stosberg.com>- Parent
6de06b9
2 files changed+86 added−86 removed
modified:doc/fuzzel.1.scd+43 added-43 removed
34 unmodified lines35 *--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- 39+40 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.44 45 Set to /dev/null to disable caching.46- 46+47 Default: _XDG_CACHE_HOME/fuzzel_48 49 *-o*,*--output*=_OUTPUT_50 Specifies the monitor to display the window on. Autocompletion is available14 unmodified lines65 *-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- 69+70 In this mode, the monitor's scaling factor is ignored; doubling71 the scaling factor will *not* double the font size.72- 72+73 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- 76+77 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- 82+83 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- 87+88 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- 94+95 Default: _auto_96 97 *--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- 102+103 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- 106+107 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- 113+114 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- 118+119 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- 122+123 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 lines130 *--prompt-only*=_PROMPT_131 Same as *--prompt*, but in *--dmenu* mode it also:132 - does not read anything from STDIN133 - sets *--lines* to 0134- 134+135 In non-dmenu mode it behaves exactly like *--prompt*.136 137 *--hide-prompt*138 Hide the prompt line, making the window smaller. Input is still13 unmodified lines152 153 *--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- 156+157 Example: _Adwaita_.158- 158+159 Default: _default_.160 161 *-I*,*--no-icons*162 Do not render any icons.2 unmodified lines165 Hide application list until something is typed.166 167 *-F*,*--fields*=_FIELDS_168 Comma separated list of XDG Desktop entry fields to match against:169- 169+170 - *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- 178+179 Default: _filename,name,generic_180 181 *--password*=[_CHARACTER_]182 Password input. Render all typed text as _CHARACTER_. If19 unmodified lines202 203 *-a*,*--anchor*=_ANCHOR_204 Set window anchor, i.e. where on screen the window will be205 displayed. You can choose one from:206- 206+207 - top-left208 - top209 - top-right210 - left1 unmodified line212 - right213 - bottom-left214 - bottom215 - bottom-right216- 216+217 Default: _center_218 219 *--x-margin*=_MARGIN_220 Horizontal margin away from the anchor point in pixels. Default: _0_.151 unmodified lines372 373 *--layer*=_top_|_overlay_374 Which layer to render the fuzzel window on. Valid values are *top*375 and *overlay*.376- 376+377 *top* renders above normal windows, but typically below fullscreen378 windows and lock screens.379- 379+380 *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- 384+385 Default: _overlay_386 387 *--keyboard-focus*=_exclusive_|_on-demand_388 Keyboard focusing mode, valid modes are *exclusive* and *on-demand*.389- 389+390 *exclusive* locks keyboard focus to fuzzel, receiving all keyboard391 input until closed.392- 392+393 *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- 398+399 Default: _exclusive_400 401 *--no-exit-on-keyboard-focus-loss*402 Do not exit when losing keyboard focus. This can be useful on35 unmodified lines438 *--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- 442+443 *none*, *nearest* and *bilinear* are the fastest options, but also444 have the worst looking results.445- 445+446 *cubic*, *lanczos2*, *lanczos3* and *lanczos3-stretched* are the447 slowest options, with the best looking results.448- 448+449 *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- 452+453 Default: _box_454 455 *-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- 460+461 Alternatively, you can symlink the fuzzel binary to462 *dmenu*. Fuzzel will then start in dmenu mode, without the463 *--dmenu* argument.464- 464+465 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- 468+469 echo -en "Firefox\\0icon\\x1ffirefox" | fuzzel --dmenu470 471 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- 474+475 echo -en "Firefox\\0icon\\x1ffirefox,web-browser,application-x-executable" | fuzzel --dmenu476 477 *--dmenu0*478 Like *--dmenu*, but input is NUL separated instead of newline7 unmodified lines486 *--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- 490+491 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- 494+495 Example:496 ```497 printf "1\\tFirst\\n2\\tSecond" | fuzzel -d --with-nth=2498 ```499- 499+500 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- 503+504 Setting it to *0* is the same as not specifying *--with-nth* at all.505 506 *--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- 509+510 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- 513+514 Example:515 ```516 printf "1\\tFirst\\n2\\tSecond" | fuzzel -d --accept-nth=2517 ```518- 518+519 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- 521+522 Setting it to *0* is the same as not specifying *--accept-nth* at all.523 524 *--nth-delimiter*=_CHARACTER_525 Field (column) delimiter for *--with-nth* and *--accept-nth*. Must526 be a single ASCII character.527- 527+528 Default: _\\t_ (tab)529 530 *-R*,*--no-run-if-empty*531 Exit immediately, without showing the UI, if stdin is93 unmodified linesmodified:doc/fuzzel.ini.5.scd+43 added-43 removed
25 unmodified lines26 # SECTION: main27 28 *include*29 Absolute path to configuration file to import.30- 30+31 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- 34+35 - 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- 39+40 Default: _not set_.41 42 *namespace*43 Namespace for the spawned layer shell surface. Useful for blocking15 unmodified lines59 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- 63+64 Examples:65 - Dina:weight=bold:slant=italic66 - Courier New:size=1267 - Fantasque Sans Mono:fontfeatures=ss0168- 68+69 Default: _monospace_.70 71 *use-bold*72 Boolean. When set, fuzzel may use bold fonts. For example, for the73 currently selected item. Default: _no_74 75 *dpi-aware*76 *auto*, *yes*, or *no*.77- 77+78 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- 81+82 In this mode, the monitor's scaling factor is ignored; doubling83 the scaling factor will *not* double the font size.84- 84+85 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- 88+89 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- 94+95 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- 99+100 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- 106+107 Default: _auto_.108 109 *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- 114+115 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- 118+119 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- 125+126 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- 130+131 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- 134+135 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 lines158 159 *fields*160 Comma separated list of XDG Desktop entry fields to match161 against.162- 162+163 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- 166+167 - filename168 - name169 - generic170 - exec12 unmodified lines183 *--password=X*. Default: _\*_.184 185 *match-mode*186 One of *exact*, *fzf* and *fuzzy*.187- 187+188 *exact*: what you type is matched exactly against each field in189 the *fields* list.190- 190+191 *fzf*: fzf-style matching, where substrings from what you have192 typed are matched against each field in the *fields* list.193- 193+194 *fuzzy*: levenshtein-based fuzzy matching of what you have typed195 against each field in the *fields* list.196- 196+197 Default: _fzf_198 199 *sort-result*200 Boolean. Whether to sort the result or not. Disabling sorting3 unmodified lines204 still updated on exit).205 206 Disabling this can improve search latency when searching very207 large data sets.208- 208+209 Default: _yes_210 211 *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- 216+217 Default: _no_.218 219 *filter-desktop*220 Boolean. Filter desktop files based on the value of35 unmodified lines256 257 *anchor*258 Set window anchor, i.e. where on screen the window will be259 displayed. You can choose one from:260- 260+261 - top-left262 - top263 - top-right264 - left1 unmodified line266 - right267 - bottom-left268 - bottom269 - bottom-right270- 270+271 Default: _center_272 273 *x-margin*274 Horizontal margin away from the anchor point in pixels. Default: _0_.55 unmodified lines330 331 *layer*332 Which layer to render the fuzzel window on. Valid values are *top*333 and *overlay*.334- 334+335 *top* renders above normal windows, but typically below fullscreen336 windows and lock screens.337- 337+338 *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- 342+343 Default: _overlay_344 345 *keyboard-focus*346 Keyboard focusing mode, valid modes are *exclusive* and *on-demand*.347- 347+348 *exclusive* locks keyboard focus to fuzzel, receiving all keyboard349 input until closed.350- 350+351 *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- 356+357 Default: _exclusive_358 359 *exit-on-keyboard-focus-loss*360 Boolean. If true, exit when the fuzzel window loses keyboard focus.361- 361+362 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- 366+367 Default: _yes_368 369 *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- 374+375 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 line380 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- 384+385 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 lines398 *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- 402+403 *none*, *nearest* and *bilinear* are the fastest options, but also404 have the worst looking results.405- 405+406 *cubic*, *lanczos2*, *lanczos3* and *lanczos3-stretched* are the407 slowest options, with the best looking results.408- 408+409 *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- 412+413 Default: _box_414 415 *cache*416 Specify the default cache location. If unset,228 unmodified lines645 *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- 649+650 Default:651 - custom-1: _Mod1+1_652 - custom-2: _Mod1+2_653 - custom-3: _Mod1+3_49 unmodified lines703 fallbacks, then it searches the fontconfig fallbacks of the first font in Fuzzel's list.704 705 This design allows a custom fallback sequence as well as custom font options for each706 fallback.707- 707+708 # SEE ALSO709 710 - *fuzzel*(1)711 - *https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html*1 unmodified line