From bbf31f39e73102858ef3a7529efc3991d447e833 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 19 Jul 2025 00:37:40 -0500 Subject: Update man pages for tofi/dmenu --- doc/tofi.1.md | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'doc/tofi.1.md') 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** \ > 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 -- cgit v1.2.3