table of contents
tofi(5) | File Formats Manual | tofi(5) |
NAME¶
tofi - configuration file
DESCRIPTION¶
The config file format is basic .ini/.cfg style. Options are set one per line, with the syntax:
Whitespace is ignored. Values starting or ending with whitespace can be given by enclosing them in double quotes like so:
Lines beginning with # or ; are treated as comments. Section headers of the form [header] are currently ignored. All options and values are case-insensitive, except where not possible (e.g. paths). Later options override earlier options, and command line options override config file options.
OPTIONS¶
font=font
If a path is not given, font is interpreted as a font name in Pango format.
Default: "Sans"
font-size=pt
Default: 24
background-color=color
Default: #1B1D1E
outline-width=px
Default: 4
outline-color=color
Default: #080800
border-width=px
Default: 12
border-color=color
Default: #F92672
text-color=color
Default: #FFFFFF
prompt-text=string
Default: "run: "
num-results=n
Default: 0
selection-color=color
Default: #F92672
selection-match-color=color
Default: #00000000
selection-padding=px
Default: 0
selection-background=color
Default: #00000000
result-spacing=px
Default: 0
min-input-width=px
Default: 0
width=px|%
Default: 1280
height=px|%
Default: 720
corner-radius=px
Default: 0
anchor=position
Default: center
output=name
Default: ""
scale=true|false
WARNING: In the next version of tofi, this will default to true, so set this to false now if you don't want that behaviour. Note that currently, font scaling will still occur when this is set to false - that will change when true becomes the default.
Default: false
margin-top=px|%
Default: 0
margin-bottom=px|%
Default: 0
margin-left=px|%
Default: 0
margin-right=px|%
Default: 0
padding-top=px|%
Default: 8
padding-bottom=px|%
Default: 8
padding-left=px|%
Default: 8
padding-right=px|%
Default: 8
hide-cursor=true|false
Default: false
horizontal=true|false
Default: false
history=true|false
Default: true
fuzzy-match=true|false
Default: false
drun-launch=true|false
Default: false
drun-print-exec=true|false
Default: true.
hint-font=true|false
Default: true
late-keyboard-init=true|false
Default: false
COLORS¶
Colors can be specified in the form RGB, RGBA, RRGGBB or RRGGBBAA, optionally prefixed with a hash (#).
PERCENTAGE VALUES¶
Some pixel values can optionally have a % suffix, like so:
This will be interpreted as a percentage of the screen resolution in the relevant direction.
AUTHORS¶
Philip Jones <philj56@gmail.com>
SEE ALSO¶
2022-08-21 |