1 .TH DMENU 1 dmenu\-VERSION
11 .RB [ \-nb " <color>"]
12 .RB [ \-nf " <color>"]
13 .RB [ \-p " <prompt>"]
14 .RB [ \-sb " <color>"]
15 .RB [ \-sf " <color>"]
19 dmenu is a generic menu for X, originally designed for
21 It manages huge amounts (up to 10.000 and more) of user defined menu items
26 defines the x coordinate dmenu appears at (0 by default).
29 defines the y coordinate dmenu appears at (0 by default). If it is negative,
30 dmenu will appear with the bottom at the given positive coordinate. If it is
31 -0, dmenu appears at the screen bottom.
34 defines the width of the dmenu window (screen width by default).
37 makes dmenu match menu entries case insensitively.
43 defines the normal background color (#RGB, #RRGGBB, and color names are supported).
46 defines the normal foreground color (#RGB, #RRGGBB, and color names are supported).
49 defines a prompt to be displayed before the input area.
52 defines the selected background color (#RGB, #RRGGBB, and color names are supported).
55 defines the selected foreground color (#RGB, #RRGGBB, and color names are supported).
58 prints version information to standard output, then exits.
60 dmenu reads a list of newline-separated items from standard input and creates a
61 menu. When the user selects an item or enters any text and presses Return, his/her
62 choice is printed to standard output and dmenu terminates.
64 dmenu is completely controlled by the keyboard. The following keys are recognized:
66 .B Any printable character
67 Appends the character to the text in the input field. This works as a filter:
68 only items containing this text will be displayed.
70 .B Left/Right (Mod1\-h/Mod1\-l)
71 Select the previous/next item.
73 .B PageUp/PageDown (Mod1\-k/Mod1\-j)
74 Select the first item of the previous/next 'page' of items.
76 .B Home/End (Mod1\-g/Mod1\-G)
77 Select the first/last item.
80 Copy the selected item to the input field.
82 .B Return (Control\-j)
83 Confirm selection and quit (print the selected item to standard output). Returns
87 .B Shift\-Return (Control\-Shift\-j)
88 Confirm selection and quit (print the text in the input field to standard output).
93 .B Escape (Control\-bracketleft)
94 Quit without selecting an item. Returns
98 .B Backspace (Control\-h)
99 Remove a character from the input field.
102 Remove all characters from the input field.
105 Remove all characters of current word from the input field.