diff options
author | Phil Jones <philj56@gmail.com> | 2022-08-03 13:47:15 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-08-03 13:47:15 +0100 |
commit | c0d3df8af0328280836ccfef85ae7e40eb3b6b87 (patch) | |
tree | b5e80a0dff429bc4dbe409e93d25ae8a023a13a3 /doc | |
parent | 04731d5dd4172c94d7d33fb5fdc5dd2a74cfe754 (diff) |
Make --drun-print-exec always be true.
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/config | 9 | ||||
-rw-r--r-- | doc/tofi.1.md | 11 | ||||
-rw-r--r-- | doc/tofi.1.scd | 10 | ||||
-rw-r--r-- | doc/tofi.5.md | 11 | ||||
-rw-r--r-- | doc/tofi.5.scd | 10 |
5 files changed, 19 insertions, 32 deletions
@@ -120,12 +120,3 @@ # If true, directly launch applications on selection when in drun mode. # Otherwise, just print the command line to stdout. drun-launch = false - - # If true, print an executable command line for the selected - # application when in drun mode. Otherwise, just print the path of the - # .desktop file. - # - # *WARNING*: This currently defaults to false. In the next version of - # tofi, this will change to always be true, as it should have been from - # the start. - drun-print-exec = true diff --git a/doc/tofi.1.md b/doc/tofi.1.md index 970fc2b..b3dee5c 100644 --- a/doc/tofi.1.md +++ b/doc/tofi.1.md @@ -25,11 +25,12 @@ When invoked via the name **tofi-drun**, **tofi** will not accept items on stdin, and will generate a list of applications from desktop files as described in the Desktop Entry Specification. -**WARNING**: Currently, when a selection is made in drun mode, the -filename of the selected desktop file is printed to stdout. In the next -version of tofi, this will change to an executable command line, to be -passed to swaymsg exec or similar. The new behaviour can be enabled now -by passing --drun-print-exec=true to tofi-drun. +**WARNING**: In the last version of tofi, when a selection was made in +drun mode, the filename of the selected desktop file was printed to +stdout. In the current version of tofi, this has changed to an +executable command line, to be passed to swaymsg exec or similar. +Consequently, the --drun-print-exec does nothing, and may be removed in +a future version of tofi. # OPTIONS diff --git a/doc/tofi.1.scd b/doc/tofi.1.scd index 71e804d..f85e18d 100644 --- a/doc/tofi.1.scd +++ b/doc/tofi.1.scd @@ -25,11 +25,11 @@ When invoked via the name *tofi-drun*, *tofi* will not accept items on stdin, and will generate a list of applications from desktop files as described in the Desktop Entry Specification. -*WARNING*: Currently, when a selection is made in drun mode, the filename of -the selected desktop file is printed to stdout. In the next version of tofi, -this will change to an executable command line, to be passed to swaymsg exec or -similar. The new behaviour can be enabled now by passing --drun-print-exec=true -to tofi-drun. +*WARNING*: In the last version of tofi, when a selection was made in drun +mode, the filename of the selected desktop file was printed to stdout. In the +current version of tofi, this has changed to an executable command line, to be +passed to swaymsg exec or similar. Consequently, the --drun-print-exec does +nothing, and may be removed in a future version of tofi. # OPTIONS diff --git a/doc/tofi.5.md b/doc/tofi.5.md index c922fac..c425b1b 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -241,14 +241,11 @@ options. **drun-print-exec**=*true\|false* -> If true, print an executable command line for the selected application -> when in drun mode. Otherwise, just print the path of the .desktop -> file. +> **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. > -> **WARNING**: In the next version of tofi, this will change to always -> be true, as it should have been from the start. -> -> Default: false +> Default: true. **hint-font**=*true\|false* diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index 3993e78..9841b1f 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -208,13 +208,11 @@ options. Default: false *drun-print-exec*=_true|false_ - If true, print an executable command line for the selected application - when in drun mode. Otherwise, just print the path of the .desktop file. + *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. - *WARNING*: In the next version of tofi, this will change to always be - true, as it should have been from the start. - - Default: false + Default: true. *hint-font*=_true|false_ Perform font hinting. Only applies when a path to a font has been |