summaryrefslogtreecommitdiff
path: root/doc/config
AgeCommit message (Collapse)Author
2022-10-22Add --terminal option.Phil Jones
2022-10-14Add --exclusive-zone option.Phil Jones
2022-10-05Add options to hide input for passwords etc.Phil Jones
2022-09-27Add --include option.Phil Jones
This allows config files to include other files, so you can e.g. split style and behaviour options into different files.
2022-08-22Add --prompt-padding option.Phil Jones
2022-08-21Add --require-match option.Phil Jones
2022-08-20Add scale option.Phil Jones
Previously, tofi wouldn't scale pixel values by the output's scale factor. This allows pixel-perfect sizes on displays with scale factors >1, but means that configs need to be changed on a per-monitor basis, and is at odds with how other applications (notable Sway) behave. This commit adds a new option, --scale, to scale pixel values by the output's scale factor. For backwards compatibility, this currently defaults to false, and font scaling is performed regardless (the existing behaviour). In the next release, this will default to true, and font scaling will follow the same behaviour as everything else.
2022-08-12Add --fuzzy_match option.Phil Jones
This enables some simple fuzzy matching logic for searches.
2022-08-07Delay scaling of percentage values.Phil Jones
The config file code now delays calculation of percentage values until `config_fix_percentages()` is called. This allows the config file to be parsed before output configuration is complete, thus allowing `--output` and `--late-keyboard-init` to be specified in the config file.
2022-08-03Make --drun-print-exec always be true.Phil Jones
The option is now deprecated, and a warning will be printed if it's used. It may be removed in a future version of tofi, so it should be removed from any configs now.
2022-07-30Add option to colour matching portion of results.Phil Jones
This was done by breaking the selected result into three parts, and rendering each separately. A side-effect is that ligatures split when a match ends inside them, but I think that's the correct behaviour (rather than highlighting the whole ligature). There may be issues with some non-latin languages that make much more extensive use of ligatures / combining characters, however.
2022-07-29Add --selection-padding option.Phil Jones
This adds some extra padding in the selection background, rather than tightly wrapping the selection text.
2022-07-29Add full example config file.Phil Jones