diff options
author | Phil Jones <philj56@gmail.com> | 2022-07-24 12:31:09 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-07-24 12:40:26 +0100 |
commit | 9e8af9d25106b615dabf956305f4ef80496ed412 (patch) | |
tree | 180ad86a9c1675777c83a9243db5129a01be9146 /doc/tofi.1.scd | |
parent | ee0ed3c506f8f45fce42cbabc1d9521382740924 (diff) |
Add drun mode.
This is a pretty simple implementation, but it should work for most
use cases. Notably, generic application names aren't used (though that
could be added without too much hassle), and neither are keywords (that
would be more difficult).
Diffstat (limited to 'doc/tofi.1.scd')
-rw-r--r-- | doc/tofi.1.scd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/tofi.1.scd b/doc/tofi.1.scd index 0e48639..d15d394 100644 --- a/doc/tofi.1.scd +++ b/doc/tofi.1.scd @@ -10,6 +10,8 @@ tofi - Tiny dynamic menu for Wayland, inspired by *rofi*(1) and *dmenu*(1). *tofi-run* [options...] +*tofi-drun* [options...] + *tofi-compgen* # DESCRIPTION @@ -21,6 +23,10 @@ a graphical selection menu. When a selection is made, it is printed to stdout. When invoked via the name *tofi-run*, *tofi* will not accept items on stdin, instead presenting a list of executables in the user's $PATH. +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. + *tofi-compgen* just prints the list of executables used by *tofi-run*. # OPTIONS @@ -65,10 +71,17 @@ _$XDG_CONFIG_HOME/tofi/config_ _$XDG_CACHE_HOME/tofi-compgen_ Cached list of executables under $PATH, regenerated as necessary. +_$XDG_CACHE_HOME/tofi-drun_ + Cached list of desktop applications, regenerated as necessary. + _$XDG_STATE_HOME/tofi-history_ Numeric count of commands selected in *tofi-run*, to enable sorting results by run count. +_$XDG_STATE_HOME/tofi-drun-history_ + Numeric count of commands selected in *tofi-drun*, to enable sorting + results by run count. + # AUTHORS Philip Jones <philj56@gmail.com> |