summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-10-22 21:55:58 +0100
committerPhil Jones <philj56@gmail.com>2022-10-22 22:01:41 +0100
commitfdcda651241ace04d895b9efa77d261029e0da68 (patch)
tree74c2bc4304e0fa1d501cc4d88bc2985b7eba6566 /doc
parent820fb11b9bb034a1ee2685ff9272f031d27dcd38 (diff)
Add --terminal option.
Diffstat (limited to 'doc')
-rw-r--r--doc/config5
-rw-r--r--doc/tofi.5.md10
-rw-r--r--doc/tofi.5.scd9
3 files changed, 22 insertions, 2 deletions
diff --git a/doc/config b/doc/config
index d7ec8b5..530e768 100644
--- a/doc/config
+++ b/doc/config
@@ -158,6 +158,11 @@
# Otherwise, just print the command line to stdout.
drun-launch = false
+ # The terminal to run terminal programs in when in drun mode.
+ # This option has no effect if drun-launch is set to true.
+ # Defaults to the value of the TERMINAL environment variable.
+ # terminal = foot
+
# Delay keyboard initialisation until after the first draw to screen.
# This option is experimental, and will cause tofi to miss keypresses
# for a short time after launch. The only reason to use this option is
diff --git a/doc/tofi.5.md b/doc/tofi.5.md
index 2ddabb4..87e3b64 100644
--- a/doc/tofi.5.md
+++ b/doc/tofi.5.md
@@ -82,13 +82,21 @@ options.
>
> Default: false
+**terminal**=*command*
+
+> The terminal to run terminal programs in when in drun mode. *command*
+> will be prepended to the the application's command line. This option
+> has no effect if **drun-launch** is set to true.
+>
+> Default: the value of the TERMINAL environment variable
+
**drun-print-exec**=*true\|false*
> **WARNING**: In the current version of tofi, this option has changed
> to always be true and has no effect, as it should have been from the
> start. It may be removed in a future version of tofi.
>
-> Default: true.
+> Default: true
**late-keyboard-init**=*true\|false*
diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd
index 7e16ea7..95f87d9 100644
--- a/doc/tofi.5.scd
+++ b/doc/tofi.5.scd
@@ -76,12 +76,19 @@ options.
Default: false
+*terminal*=_command_
+ The terminal to run terminal programs in when in drun mode. _command_
+ will be prepended to the the application's command line.
+ This option has no effect if *drun-launch* is set to true.
+
+ Default: the value of the TERMINAL environment variable
+
*drun-print-exec*=_true|false_
*WARNING*: In the current version of tofi, this option has changed to
always be true and has no effect, as it should have been from the
start. It may be removed in a future version of tofi.
- Default: true.
+ Default: true
*late-keyboard-init*=_true|false_
Delay keyboard initialisation until after the first draw to screen.