width is now calculated from the font
[xmenu] / README
CommitLineData
a7732690 1 xmenu
2
3Xmenu is a menu utility for X.
4Xmenu receives a menu specification in stdin, shows a menu for the user
5to select one of the options, and outputs the option selected to stdout.
6
7§ Installation
8
9In order to build xmenu you need the Xlib header files.
10
11Edit config.mk to match your local setub (dwm is installed into the
12/usr/local prefix by default). Then enter the following command to
13build and install dwm (if necessary as root).
14
15┌─────────────────────────────────────────────────────────────────────┐
16│ make clean install │
17└─────────────────────────────────────────────────────────────────────┘
18
19
20§ Running xmenu
21
22xmenu receives as input a menu specification where each line is a menu
23entry. Each line can be indented with tabs to represent nested menus.
24Each line is made out of a label and a command separated by any number
7fbd1c5e 25of tabs. Lines without labels are menu separators.
a7732690 26
7fbd1c5e 27See the script ./xmenu.sh for an example of how xmenu can be used to
28draw a simple menu with submenus and separators.