diff options
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | dmenu.1 | 48 |
2 files changed, 24 insertions, 26 deletions
@@ -1,5 +1,5 @@ | |||
1 | # dmenu version | 1 | # dmenu version |
2 | VERSION = 0.8 | 2 | VERSION = 0.9 |
3 | 3 | ||
4 | # Customize below to fit your system | 4 | # Customize below to fit your system |
5 | 5 | ||
@@ -6,8 +6,7 @@ dmenu \- dynamic menu | |||
6 | .RB [ \-v ] | 6 | .RB [ \-v ] |
7 | .SH DESCRIPTION | 7 | .SH DESCRIPTION |
8 | .SS Overview | 8 | .SS Overview |
9 | .B dmenu | 9 | dmenu is a generic menu for X, originally designed for |
10 | is a generic menu for X, originally designed for | ||
11 | .BR dwm (1). | 10 | .BR dwm (1). |
12 | It manages huge amounts (up to 10.000 and more) of user defined menu items | 11 | It manages huge amounts (up to 10.000 and more) of user defined menu items |
13 | efficiently. | 12 | efficiently. |
@@ -16,49 +15,48 @@ efficiently. | |||
16 | .B \-v | 15 | .B \-v |
17 | prints version information to standard output, then exits. | 16 | prints version information to standard output, then exits. |
18 | .SH USAGE | 17 | .SH USAGE |
19 | .B dmenu | 18 | dmenu reads a list of newline-separated items from standard input and creates a |
20 | reads a list of newline-separated items from standard input and creates a menu. | 19 | menu. When the user selects an item or enters any text and presses Return, his |
21 | When the user selects an item or enters any text and presses Return, his choice | 20 | choice is printed to standard output and dmenu terminates. |
22 | is printed to standard output and | 21 | .P |
23 | .B dmenu | 22 | dmenu is completely controlled by the keyboard. The following keys are recognized: |
24 | terminates. | ||
25 | .B dmenu | ||
26 | is completely controlled by the keyboard. The following keys are recognized: | ||
27 | .TP | 23 | .TP |
28 | Any printable character | 24 | .B Any printable character |
29 | Appends the character to the text in the input field. This works as a filter: | 25 | Appends the character to the text in the input field. This works as a filter: |
30 | only items containing this text will be displayed. | 26 | only items containing this text will be displayed. |
31 | .TP | 27 | .TP |
32 | Left/Right | 28 | .B Left/Right |
33 | Select the previous/next item. | 29 | Select the previous/next item. |
34 | .TP | 30 | .TP |
35 | Tab | 31 | .B Tab |
36 | Copy the selected item to the input field. | 32 | Copy the selected item to the input field. |
37 | .TP | 33 | .TP |
38 | Return | 34 | .B Return |
39 | Confirm selection and quit (print the selected item to standard output). | 35 | Confirm selection and quit (print the selected item to standard output). |
40 | .TP | 36 | .TP |
41 | Shift-Return | 37 | .B Shift-Return |
42 | Confirm selection and quit (print the text in the input field to standard output). | 38 | Confirm selection and quit (print the text in the input field to standard output). |
43 | .TP | 39 | .TP |
44 | Escape | 40 | .B Escape |
45 | Quit without selecting an item. | 41 | Quit without selecting an item. |
46 | .TP | 42 | .TP |
47 | Backspace (Control-h) | 43 | .B Backspace (Control-h) |
48 | Remove enough characters from the input field to change its filtering effect. | 44 | Remove enough characters from the input field to change its filtering effect. |
49 | .TP | 45 | .TP |
50 | Control-u | 46 | .B Control-u |
51 | Remove all characters from the input field. | 47 | Remove all characters from the input field. |
52 | .P | 48 | .P |
53 | .B dmenu | 49 | dwm returns |
54 | returns | ||
55 | .B 0 | 50 | .B 0 |
56 | if Return is pressed on termination, | 51 | if |
52 | .B Return | ||
53 | is pressed and | ||
57 | .B 1 | 54 | .B 1 |
58 | if Escape is pressed. | 55 | if |
56 | .B Escape | ||
57 | is pressed on termination. | ||
59 | .SH CUSTOMIZATION | 58 | .SH CUSTOMIZATION |
60 | .B dmenu | 59 | dmenu is customized by creating a custom config.h and (re)compiling the source |
61 | is customized by creating a custom config.h and (re)compiling the source | ||
62 | code. This keeps it fast, secure and simple. | 60 | code. This keeps it fast, secure and simple. |
63 | .SH SEE ALSO | 61 | .SH SEE ALSO |
64 | .BR dwm (1) | 62 | .BR dwm (1) |