2009-10-10 00:20:23 +04:00
|
|
|
WIMENU
|
|
|
|
wmii-@VERSION@
|
|
|
|
Oct, 2009
|
2009-05-14 08:14:49 +04:00
|
|
|
|
|
|
|
%!includeconf: header.t2t
|
|
|
|
|
|
|
|
= NAME =
|
|
|
|
|
|
|
|
wimenu - The wmii menu program
|
|
|
|
|
|
|
|
= SYNOPSIS =
|
|
|
|
|
|
|
|
wimenu [-a <address>] [-c] [-h <history file>] [-i] [-K] [-k <keys file>] [-n <history count>] [-p <prompt>] [-s <screen>] +
|
|
|
|
wimenu -v
|
|
|
|
|
|
|
|
= DESCRIPTION =
|
|
|
|
|
|
|
|
`wimenu` is `wmii`'s standard menu program. It's used
|
|
|
|
extensively by `wmii` and related programs to prompt the user
|
|
|
|
for input. The standard configuration uses it to launch
|
|
|
|
programs, select views, and perform standard actions. It
|
2009-10-11 14:09:06 +04:00
|
|
|
supports basic item completion and history searching.
|
2009-05-14 08:14:49 +04:00
|
|
|
|
|
|
|
= ARGUMENTS =
|
|
|
|
|
|
|
|
: -a
|
2009-10-13 06:07:51 +04:00
|
|
|
The address at which to connect to `wmii`.
|
2009-05-14 08:14:49 +04:00
|
|
|
: -c
|
2009-10-13 06:07:51 +04:00
|
|
|
Prints the contents of the input buffer each time the
|
|
|
|
user inputs a character, as such:
|
2009-05-14 08:14:49 +04:00
|
|
|
|
2009-10-13 06:07:51 +04:00
|
|
|
<text before caret>\0<text after caret>\0
|
2009-05-14 08:14:49 +04:00
|
|
|
: -h <history file>
|
2009-10-13 06:07:51 +04:00
|
|
|
Causes `wimenu` to read its command history from
|
|
|
|
<history file> and to append its result to that file if
|
|
|
|
_-n_ is given.
|
2009-05-14 08:14:49 +04:00
|
|
|
: -i
|
2009-10-13 06:07:51 +04:00
|
|
|
Causes matching of completion items to be performed in a
|
|
|
|
case insensitive manner.
|
2009-05-14 08:14:49 +04:00
|
|
|
: -K
|
2009-10-13 06:07:51 +04:00
|
|
|
Prevents `wimenu` from initializing its default key
|
|
|
|
bindings. WARNING: If you do this, be sure to bind a key
|
|
|
|
with the Accept or Reject action, or you will have no way
|
|
|
|
to exit `wimenu`.
|
2009-05-14 08:14:49 +04:00
|
|
|
: -k <key file>
|
2009-10-13 06:07:51 +04:00
|
|
|
Key bindings will be read from <key file>. Bindings
|
|
|
|
appear as:
|
2009-05-14 08:14:49 +04:00
|
|
|
|
2009-10-13 06:07:51 +04:00
|
|
|
<key> [action] [args]
|
2009-05-14 08:14:49 +04:00
|
|
|
|
2009-10-13 06:07:51 +04:00
|
|
|
where <key> is a key name, similar to the format used by
|
|
|
|
wmii. For action and args, please refer to the default
|
|
|
|
bindings, provided in the source distribution under
|
|
|
|
cmd/menu/keys.txt, or use strings(1) on the `wimenu`
|
|
|
|
executable (this level of customization is reserved for the
|
|
|
|
determined).
|
2009-05-14 08:14:49 +04:00
|
|
|
: -n <count>
|
2009-10-13 06:07:51 +04:00
|
|
|
Write at most <count> items back to the history file.
|
|
|
|
The file is never modified unless this option is
|
|
|
|
provided. Duplicates are filtered out within a 20 item
|
|
|
|
sliding window before this limit is imposed.
|
2009-05-14 08:14:49 +04:00
|
|
|
: -p <prompt>
|
2009-10-13 06:07:51 +04:00
|
|
|
The string <prompt> will be show before the input field
|
|
|
|
when the menu is opened.
|
2009-05-14 08:14:49 +04:00
|
|
|
: -s <screen>
|
2009-10-13 06:07:51 +04:00
|
|
|
Suggests that the menu open on Xinerama screen <screen>.
|
|
|
|
:
|
2009-05-14 08:14:49 +04:00
|
|
|
|
|
|
|
= ENVIRONMENT =
|
|
|
|
|
2009-10-13 06:07:51 +04:00
|
|
|
: $WMII_ADDRESS
|
|
|
|
The address at which to connect to wmii.
|
|
|
|
: $NAMESPACE
|
|
|
|
The namespace directory to use if no address is
|
|
|
|
provided.
|
|
|
|
:
|
2009-05-14 08:14:49 +04:00
|
|
|
= SEE ALSO =
|
2009-10-13 06:07:51 +04:00
|
|
|
wmii(1), wmiir(1), dmenu(1)
|
2009-05-14 08:14:49 +04:00
|
|
|
|
|
|
|
[1] http://www.suckless.org/wiki/wmii/tips/9p_tips
|
|
|
|
|