a7732690 |
1 | xmenu |
2 | |
3 | Xmenu is a menu utility for X. |
4 | Xmenu receives a menu specification in stdin, shows a menu for the user |
5 | to select one of the options, and outputs the option selected to stdout. |
6 | |
27443900 |
7 | NOTE: The -w (windowed) option was removed from the master branch. |
8 | It was too buggy in tiled window managers and requires more |
9 | code to be maintained. |
10 | |
a7732690 |
11 | § Installation |
12 | |
13 | In order to build xmenu you need the Xlib header files. |
14 | |
873c080c |
15 | Edit config.mk to match your local setup (xmenu is installed into the |
a7732690 |
16 | /usr/local prefix by default). Then enter the following command to |
873c080c |
17 | build and install xmenu (if necessary as root). |
a7732690 |
18 | |
873c080c |
19 | make clean install |
a7732690 |
20 | |
21 | |
22 | § Running xmenu |
23 | |
24 | xmenu receives as input a menu specification where each line is a menu |
25 | entry. Each line can be indented with tabs to represent nested menus. |
26 | Each line is made out of a label and a command separated by any number |
7fbd1c5e |
27 | of tabs. Lines without labels are menu separators. |
a7732690 |
28 | |
7fbd1c5e |
29 | See the script ./xmenu.sh for an example of how xmenu can be used to |
30 | draw a simple menu with submenus and separators. |
08f16589 |
31 | |
32 | Read the manual for more information on running xmenu. |