summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-07-19 00:37:40 -0500
committerzachir <zachir@librem.one>2025-07-19 00:37:40 -0500
commitbbf31f39e73102858ef3a7529efc3991d447e833 (patch)
tree10fe9f5ff562e020a682474a7d0cedb04ca78c7b
parent56d9227bc721375ddece7e42c92af57e3820ebb1 (diff)
Update man pages for tofi/dmenu
-rw-r--r--doc/tofi.1.md38
-rw-r--r--doc/tofi.1.scd43
2 files changed, 67 insertions, 14 deletions
diff --git a/doc/tofi.1.md b/doc/tofi.1.md
index 6068c33..0a3cd53 100644
--- a/doc/tofi.1.md
+++ b/doc/tofi.1.md
@@ -11,6 +11,8 @@ tofi - Tiny dynamic menu for Wayland, inspired by **rofi**(1) and
**tofi-drun** \[options...\]
+**dmenu** \[dmenu-options ... \]
+
## DESCRIPTION
**tofi** is a tiny dynamic menu for Wayland compositors supporting the
@@ -25,34 +27,56 @@ 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.
+When invoked via the name **dmenu**, **tofi** will only use the flags in
+DMENU-OPTIONS.
+
## OPTIONS
**-h, --help**
> Print help and exit.
+**-d, --dmenu**
+
+> Turns on dmenu compatibility flags. All flags after are treated like
+> DMENU-OPTIONS.
+
**-c, --config** \<path\>
> Specify path to custom config file.
-**-b, --bottom**
+All config file options described in **tofi**(5) are also accepted, in
+the form **--key=value**.
+
+## DMENU-OPTIONS
+
+**-b**
> Anchor to the bottom of the screen.
-**-P, --password**
+**-f, -i**
-> Hide the input text.
+> Ignored, included for dmenu compatibility.
-**-r, --require**
+**-r**
> Require a match to complete.
-**-p, --prompt-text**
+**-v**
+
+> Prints the version and exits.
+
+**-P**
+
+> Hide the input text.
+
+**-p**
> Prompt text.
-All config file options described in **tofi**(5) are also accepted, in
-the form **--key=value**.
+**-m**
+
+> Sets the output to display tofi on.
## KEYS
diff --git a/doc/tofi.1.scd b/doc/tofi.1.scd
index ce4d913..f5e6688 100644
--- a/doc/tofi.1.scd
+++ b/doc/tofi.1.scd
@@ -12,6 +12,8 @@ tofi - Tiny dynamic menu for Wayland, inspired by *rofi*(1) and *dmenu*(1).
*tofi-drun* [options...]
+*dmenu* [options...]
+
# DESCRIPTION
*tofi* is a tiny dynamic menu for Wayland compositors supporting the
@@ -25,6 +27,9 @@ 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.
+When invoked via the name *dmenu*, *tofi* will only use the flags in
+DMENU-OPTIONS.
+
# OPTIONS
*-h, --help*
@@ -33,20 +38,44 @@ Desktop Entry Specification.
*-c, --config* <path>
Specify path to custom config file.
-*-b, --bottom*
+*-d, --dmenu*
+
+ Turns on dmenu compatibility flags. All flags after are treated like
+DMENU-OPTIONS.
+
+All config file options described in *tofi*(5) are also accepted, in the form
+*--key=value*.
+
+# DMENU-OPTIONS
+
+*-b*
+
Anchor to the bottom of the screen.
-*-P, --password*
- Hide the input text.
+*-f, -i*
+
+ Ignored, included for dmenu compatibility.
+
+*-r*
-*-r, --require*
Require a match to complete.
-*-p, --prompt-text*
+*-v*
+
+ Prints the version and exits.
+
+*-P*
+
+ Hide the input text.
+
+*-p*
+
Prompt text.
-All config file options described in *tofi*(5) are also accepted, in the form
-*--key=value*.
+*-m*
+
+ Sets the output to display tofi on.
+
# KEYS