Separated getmenuitem into two functions
[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
27443900 7NOTE: 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
13In order to build xmenu you need the Xlib header files.
14
873c080c 15Edit 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 17build and install xmenu (if necessary as root).
a7732690 18
873c080c 19 make clean install
a7732690 20
21
22§ Running xmenu
23
24xmenu receives as input a menu specification where each line is a menu
25entry. Each line can be indented with tabs to represent nested menus.
26Each line is made out of a label and a command separated by any number
7fbd1c5e 27of tabs. Lines without labels are menu separators.
a7732690 28
7fbd1c5e 29See the script ./xmenu.sh for an example of how xmenu can be used to
30draw a simple menu with submenus and separators.
08f16589 31
32Read the manual for more information on running xmenu.