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.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/tofi.1.md') diff --git a/doc/tofi.1.md b/doc/tofi.1.md index 6d2d83f..6de0027 100644 --- a/doc/tofi.1.md +++ b/doc/tofi.1.md @@ -9,6 +9,8 @@ tofi - Tiny dynamic menu for Wayland, inspired by **rofi**(1) and **tofi-run** \[options...\] +**tofi-drun** \[options...\] + **tofi-compgen** # DESCRIPTION @@ -21,6 +23,10 @@ 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**. @@ -76,11 +82,20 @@ the form **--key=value**. > 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