From 9e8af9d25106b615dabf956305f4ef80496ed412 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 24 Jul 2022 12:31:09 +0100 Subject: 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). --- doc/tofi.1.scd | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/tofi.1.scd') 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 -- cgit v1.2.3