diff options
author | Phil Jones <philj56@gmail.com> | 2022-08-21 20:58:10 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-08-21 20:58:10 +0100 |
commit | faf685ca266d9cd3e2bb42d2ef105a5577cfcaf1 (patch) | |
tree | 26f64872c8d192413f2411c2ff6054e849799922 /doc | |
parent | aeefb7cd446cbc32f6bd68f3f776a032979b3b92 (diff) |
Add --require-match option.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/config | 5 | ||||
-rw-r--r-- | doc/tofi.5.md | 8 | ||||
-rw-r--r-- | doc/tofi.5.scd | 7 |
3 files changed, 20 insertions, 0 deletions
@@ -127,6 +127,11 @@ # Use fuzzy matching for searches. fuzzy-match = false + # If true, require a match to allow a selection to be made. If false, + # making a selection with no matches will print input to stdout. + # In drun mode, this is always true. + require-match = true + # If true, directly launch applications on selection when in drun mode. # Otherwise, just print the command line to stdout. drun-launch = false diff --git a/doc/tofi.5.md b/doc/tofi.5.md index 6eed96d..ba88c1b 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -260,6 +260,14 @@ options. > > Default: false +**require-match**=*true\|false* + +> If true, require a match to allow a selection to be made. If false, +> making a selection with no matches will print input to stdout. In drun +> mode, this is always true. +> +> Default: true + **drun-launch**=*true\|false* > If true, directly launch applications on selection when in drun mode. diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index cf605b3..31f8083 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -226,6 +226,13 @@ options. Default: false +*require-match*=_true|false_ + If true, require a match to allow a selection to be made. If false, + making a selection with no matches will print input to stdout. + In drun mode, this is always true. + + Default: true + *drun-launch*=_true|false_ If true, directly launch applications on selection when in drun mode. Otherwise, just print the path of the .desktop file to stdout. |