wm-agnostic, X11 menu
Go to file
2020-05-23 22:06:21 -03:00
config.h Added xft support (smooth fonts) 2020-05-18 22:27:56 -03:00
config.mk Added xft support (smooth fonts) 2020-05-18 22:27:56 -03:00
LICENSE NOW IN PUBLIC DOMAIN! 2020-05-16 01:28:57 -03:00
Makefile Fixed makefile 2020-05-18 23:00:29 -03:00
README Removed the -w option (it was too buggy) 2020-05-23 22:06:21 -03:00
xmenu.1 Simplifying the example script. 2020-05-19 06:22:00 -03:00
xmenu.c Removed the -w option (it was too buggy) 2020-05-23 22:06:21 -03:00
xmenu.sh trapping sighup in xmenu.sh 2020-05-19 10:22:24 -03: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.

§ Installation

In order to build xmenu you need the Xlib header files.

Edit config.mk to match your local setup (xmenu is installed into the
/usr/local prefix by default).  Then enter the following command to
build and install xmenu (if necessary as root).

	make clean install


§ 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.

See the script ./xmenu.sh for an example of how xmenu can be used to
draw a simple menu with submenus and separators.

Read the manual for more information on running xmenu.