wmii9menu.1 (1840B)
1 .TH "WMII9MENU" 1 "Oct, 2009" "wmii-@VERSION@" 2 3 .SH NAME 4 .P 5 wmii9menu \- The wmii menu program 6 7 .SH SYNOPSIS 8 .P 9 wmii9menu \fI[\-a \fI<address>\fR]\fR \fI[\-i \fI<initial>\fR]\fR \fI<item>\fR\fI[:\fI<command>\fR]\fR... 10 wmii9menu \-v 11 12 .SH DESCRIPTION 13 .P 14 \fBwmii9menu\fR is \fBwmii\fR's standard clickable menu program. It's used 15 extensively by \fBwmii\fR and related programs to display clickable 16 menus, namely for window titlebars and bar items. The name, along 17 with the code, derives from the 9menu program, which in turn derives 18 its name from Plan 9's style of clickable menus. 19 20 .SH ARGUMENTS 21 .TP 22 \-a 23 The address at which to connect to \fBwmii\fR. 24 .TP 25 \-i \fI<initial>\fR 26 27 .RS 28 If \fI<initial>\fR is listed among the other items on the command 29 line, it is selected at startup, and the menu is positioned 30 so that the mouse pointer is centered on said item. 31 .RE 32 .P 33 : 34 35 .SH USAGE 36 .P 37 \fBwmii9menu\fR is invoked with a list of arguments, each of which is 38 displayed as a menu item. The first \fI:\fR in the item name, and any 39 text following it, is stripped. The menu is opened such that the 40 mouse pointer is centered on the selected item. If a mouse button is 41 depressed when the menu opens, then releasing it will confirm the 42 selection. Otherwise, a mouse press will do the same. When a 43 selection is made, \fBwmii9menu\fR prints the result. If the selected 44 item initially contained a \fI:\fR, the text following it is printed. 45 Otherwise, the item text itself is printed. 46 47 .SH ENVIRONMENT 48 .TP 49 \fB$WMII_ADDRESS\fR 50 The address at which to connect to wmii. 51 .TP 52 \fB$NAMESPACE\fR 53 The namespace directory to use if no address is 54 provided. 55 56 .SH SEE ALSO 57 .P 58 wmii(1), wmiir(1), wimenu(1) 59 60 .P 61 \fI[1]\fR http://www.suckless.org/wiki/wmii/tips/9p_tips 62 63 64 .\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net) 65 .\" cmdline: txt2tags -o- wmii9menu.man1 66