xmenu/README

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-05-16 00:02:23 +02:00
xmenu
Xmenu is a menu utility for X.
Xmenu receives a menu specification in stdin, shows a menu for the user
to select one of the options, and outputs the option selected to stdout.
NOTE: The -w (windowed) option was removed from the master branch.
It was too buggy in tiled window managers and requires more
code to be maintained.
2020-05-16 00:02:23 +02:00
§ Installation
In order to build xmenu you need the Xlib header files.
2020-05-16 23:01:14 +02:00
Edit config.mk to match your local setup (xmenu is installed into the
2020-05-16 00:02:23 +02:00
/usr/local prefix by default). Then enter the following command to
2020-05-16 23:01:14 +02:00
build and install xmenu (if necessary as root).
2020-05-16 00:02:23 +02:00
2020-05-16 23:01:14 +02:00
make clean install
2020-05-16 00:02:23 +02:00
§ Running xmenu
xmenu receives as input a menu specification where each line is a menu
entry. Each line can be indented with tabs to represent nested menus.
Each line is made out of a label and a command separated by any number
of tabs. Lines without labels are menu separators.
2020-05-16 00:02:23 +02:00
See the script ./xmenu.sh for an example of how xmenu can be used to
draw a simple menu with submenus and separators.
2020-05-17 05:08:23 +02:00
Read the manual for more information on running xmenu.