2005-12-18 18:55:06 +03:00
|
|
|
.TH WMIIMENU 1 wmii-3
|
2005-11-18 18:54:58 +03:00
|
|
|
.SH NAME
|
2005-12-12 17:16:23 +03:00
|
|
|
wmiimenu \- window manager improved 2 menu
|
2005-11-18 18:54:58 +03:00
|
|
|
.SH SYNOPSIS
|
2005-12-12 17:16:23 +03:00
|
|
|
.B wmiimenu
|
2006-02-18 22:37:28 +03:00
|
|
|
.RB [ \-v ]
|
2005-11-18 18:54:58 +03:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.SS Overview
|
2005-12-12 17:16:23 +03:00
|
|
|
.B wmiimenu
|
2005-11-18 18:54:58 +03:00
|
|
|
is a generic, highly customizable, and efficient menu for the X Window System,
|
|
|
|
originally designed for
|
|
|
|
.BR wmii (1).
|
2006-02-18 22:37:28 +03:00
|
|
|
It supports arbitrary, user defined menu contents.
|
2005-11-18 18:54:58 +03:00
|
|
|
.SS Options
|
|
|
|
.TP
|
|
|
|
.B \-v
|
2006-03-22 16:25:21 +03:00
|
|
|
prints version information to stdout, then exits.
|
2006-02-19 01:14:05 +03:00
|
|
|
.SS Usage
|
2006-02-18 22:37:28 +03:00
|
|
|
.B wmiimenu
|
2006-02-19 01:14:05 +03:00
|
|
|
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
|
|
|
|
.B wmiimenu
|
|
|
|
terminates.
|
|
|
|
.SS Keyboard Control
|
|
|
|
.B wmiimenu
|
|
|
|
is completely controlled by the keyboard. The following keys are recognized:
|
2006-02-18 22:37:28 +03:00
|
|
|
.TP 2
|
2006-02-19 01:14:05 +03:00
|
|
|
Any printable character
|
2006-04-28 00:55:15 +04:00
|
|
|
appends the character to the text in the input field. This works as a filter:
|
2006-02-18 22:37:28 +03:00
|
|
|
only items containing this text will be displayed.
|
|
|
|
.TP 2
|
2006-02-26 13:51:51 +03:00
|
|
|
Left/Right (Control-p/Control-n)
|
2006-02-18 22:37:28 +03:00
|
|
|
select the previous/next item.
|
|
|
|
.TP 2
|
2006-02-26 13:51:51 +03:00
|
|
|
Tab (Control-i)
|
2006-02-18 22:37:28 +03:00
|
|
|
copy the selected item to the input field.
|
|
|
|
.TP 2
|
2006-02-26 13:51:51 +03:00
|
|
|
Enter (Control-j)
|
2006-04-20 03:02:31 +04:00
|
|
|
confirm selection and quit (print the selected item to stdout).
|
|
|
|
.TP 2
|
|
|
|
Shift-Enter (Shift-Control-j)
|
|
|
|
confirm selection and quit (print the text in the input field to stdout).
|
2006-02-18 22:37:28 +03:00
|
|
|
.TP 2
|
2006-02-26 13:51:51 +03:00
|
|
|
Escape (Control-[)
|
2006-02-18 22:37:28 +03:00
|
|
|
quit without selecting an item.
|
|
|
|
.TP 2
|
2006-02-26 13:51:51 +03:00
|
|
|
Backspace (Control-h)
|
2006-02-18 22:37:28 +03:00
|
|
|
remove enough characters from the input field to change its filtering effect.
|
|
|
|
.TP 2
|
2006-02-26 13:51:51 +03:00
|
|
|
Control-u
|
2006-02-18 22:37:28 +03:00
|
|
|
remove all characters from the input field.
|
2006-04-28 00:55:15 +04:00
|
|
|
.SS Exit codes
|
|
|
|
.B wmiimenu
|
|
|
|
returns
|
|
|
|
.B 0
|
|
|
|
if Enter is pressed on termination,
|
|
|
|
.B 1
|
|
|
|
if Escape is pressed.
|
2006-02-27 20:23:28 +03:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
.TP
|
|
|
|
WMII_FONT
|
2006-03-08 14:56:05 +03:00
|
|
|
The X11 font used to display each item in the menu.
|
|
|
|
.br
|
|
|
|
Default: fixed
|
2006-02-27 20:23:28 +03:00
|
|
|
.TP
|
|
|
|
WMII_NORMCOLORS
|
2006-03-08 14:56:05 +03:00
|
|
|
The foreground, background, and border colors of a label. Syntactically, three blank-separated color values of the form #RRGGBB are expected.
|
|
|
|
.br
|
|
|
|
Default: #222222 #eeeeee #666666
|
2006-02-27 20:23:28 +03:00
|
|
|
.TP
|
|
|
|
WMII_SELCOLORS
|
|
|
|
Like WMII_NORMCOLORS, but for the selected label.
|
2006-03-08 14:56:05 +03:00
|
|
|
.br
|
|
|
|
Default: #ffffff #285577 #4c7899
|
2005-11-18 18:54:58 +03:00
|
|
|
.SH SEE ALSO
|
2006-03-22 16:25:21 +03:00
|
|
|
.BR wmii (1)
|