summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/config5
-rw-r--r--doc/tofi.5.md8
-rw-r--r--doc/tofi.5.scd7
3 files changed, 20 insertions, 0 deletions
diff --git a/doc/config b/doc/config
index f544966..4d337b5 100644
--- a/doc/config
+++ b/doc/config
@@ -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.