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.scd | 43 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) (limited to 'doc/tofi.1.scd') 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* 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 -- cgit v1.2.3