WMIIMENU(1)

NAME
wmiimenu - window manager improved 2 menu

SYNOPSIS
wmiimenu [-v]

DESCRIPTION

  Overview
wmiimenu is a generic, highly customizable, and efficient menu for the X Window System, originally designed for wmii(1). It supports arbitrary, user defined menu contents.

  Options

-v  prints version information to stdout, then exits.

  Usage
wmiimenu reads a list of newline-separated items from stdin and creates a menu. When the user selects an item or enters any text and presses Enter, his choice is printed to stdout and wmiimenu terminates.

  Keyboard Control
wmiimenu is completely controlled by the keyboard. The following keys are recognized:

Any printable character
    appends the character to the text in the input field. This works as a filter: only items containing this text will be displayed.

Left/Right (Control-p/Control-n)
    select the previous/next item.

Tab (Control-i)
    copy the selected item to the input field.

Enter (Control-j)
    confirm selection and quit (print the selected item to stdout).

Shift-Enter (Shift-Control-j)
    confirm selection and quit (print the text in the input field to stdout).

Escape (Control-[)
    quit without selecting an item.

Backspace (Control-h)
    remove enough characters from the input field to change its filtering effect.

Control-u
    remove all characters from the input field.

  Exit codes
wmiimenu returns 0 if Enter is pressed on termination, 1 if Escape is pressed.

ENVIRONMENT

WMII_FONT
    The X11 font used to display each item in the menu.
    Default: fixed

WMII_NORMCOLORS
    The foreground, background, and border colors of a label. Syntactically, three blank-separated color values of the form #RRGGBB are expected.
    Default: #222222 #eeeeee #666666

WMII_SELCOLORS
    Like WMII_NORMCOLORS, but for the selected label.
    Default: #ffffff #285577 #4c7899

SEE ALSO
wmii(1)