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