summaryrefslogtreecommitdiff
path: root/doc/tofi.1.md
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-07-24 12:31:09 +0100
committerPhil Jones <philj56@gmail.com>2022-07-24 12:40:26 +0100
commit9e8af9d25106b615dabf956305f4ef80496ed412 (patch)
tree180ad86a9c1675777c83a9243db5129a01be9146 /doc/tofi.1.md
parentee0ed3c506f8f45fce42cbabc1d9521382740924 (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.md')
-rw-r--r--doc/tofi.1.md15
1 files changed, 15 insertions, 0 deletions
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 \<philj56@gmail.com\>