diff --git a/man/Makefile b/man/Makefile index 94e4f21d..f64126ad 100644 --- a/man/Makefile +++ b/man/Makefile @@ -4,6 +4,7 @@ include ${ROOT}/mk/wmii.mk TARG = wmii.1 \ wmiir.1 \ + wmii9menu.1\ wimenu.1 $(TARG): Makefile $(ROOT)/mk/wmii.mk header.t2t diff --git a/man/wimenu.1 b/man/wimenu.1 index a66ceff6..df5abcf7 100644 --- a/man/wimenu.1 +++ b/man/wimenu.1 @@ -82,7 +82,7 @@ provided. .SH SEE ALSO .P -wmii(1), wmiir(1), dmenu(1) +wmii(1), wmiir(1), wmii9menu(1), dmenu(1) .P \fI[1]\fR http://www.suckless.org/wiki/wmii/tips/9p_tips diff --git a/man/wimenu.man1 b/man/wimenu.man1 index 593b3330..a00b5c42 100644 --- a/man/wimenu.man1 +++ b/man/wimenu.man1 @@ -75,7 +75,7 @@ supports basic item completion and history searching. provided. : = SEE ALSO = -wmii(1), wmiir(1), dmenu(1) +wmii(1), wmiir(1), wmii9menu(1), dmenu(1) [1] http://www.suckless.org/wiki/wmii/tips/9p_tips diff --git a/man/wmii9menu.1 b/man/wmii9menu.1 new file mode 100644 index 00000000..935c66de --- /dev/null +++ b/man/wmii9menu.1 @@ -0,0 +1,66 @@ +.TH "WMII9MENU" 1 "Oct, 2009" "wmii-@VERSION@" + +.SH NAME +.P +wmii9menu \- The wmii menu program + +.SH SYNOPSIS +.P +wmii9menu \fI[\-a \fI
\fR]\fR \fI[\-i \fI\fR]\fR \fI\fR\fI[:\fI\fR]\fR... +wmii9menu \-v + +.SH DESCRIPTION +.P +\fBwmii9menu\fR is \fBwmii\fR's standard clickable menu program. It's used +extensively by \fBwmii\fR and related programs to display clickable +menus, namely for window titlebars and bar items. The name, along +with the code, derives from the 9menu program, which in turn derives +its name from Plan 9's style of clickable menus. + +.SH ARGUMENTS +.TP +\-a +The address at which to connect to \fBwmii\fR. +.TP +\-i \fI\fR + +.RS +If \fI\fR is listed among the other items on the command +line, it is selected at startup, and the menu is positioned +so that the mouse pointer is centered on said item. +.RE +.P +: + +.SH USAGE +.P +\fBwmii9menu\fR is invoked with a list of arguments, each of which is +displayed as a menu item. The first \fI:\fR in the item name, and any +text following it, is stripped. The menu is opened such that the +mouse pointer is centered on the selected item. If a mouse button is +depressed when the menu opens, then releasing it will confirm the +selection. Otherwise, a mouse press will do the same. When a +selection is made, \fBwmii9menu\fR prints the result. If the selected +item initially contained a \fI:\fR, the text following it is printed. +Otherwise, the item text itself is printed. + +.SH ENVIRONMENT +.TP +\fB$WMII_ADDRESS\fR +The address at which to connect to wmii. +.TP +\fB$NAMESPACE\fR +The namespace directory to use if no address is +provided. + +.SH SEE ALSO +.P +wmii(1), wmiir(1), wimenu(1) + +.P +\fI[1]\fR http://www.suckless.org/wiki/wmii/tips/9p_tips + + +.\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net) +.\" cmdline: txt2tags -o- wmii9menu.man1 + diff --git a/man/wmii9menu.man1 b/man/wmii9menu.man1 new file mode 100644 index 00000000..a1e6f5ea --- /dev/null +++ b/man/wmii9menu.man1 @@ -0,0 +1,58 @@ +WMII9MENU +wmii-@VERSION@ +Oct, 2009 + +%!includeconf: header.t2t + += NAME = + +wmii9menu - The wmii menu program + += SYNOPSIS = + +wmii9menu [-a
] [-i ] [:]... +wmii9menu -v + += DESCRIPTION = + +`wmii9menu` is `wmii`'s standard clickable menu program. It's used +extensively by `wmii` and related programs to display clickable +menus, namely for window titlebars and bar items. The name, along +with the code, derives from the 9menu program, which in turn derives +its name from Plan 9's style of clickable menus. + += ARGUMENTS = + +: -a + The address at which to connect to `wmii`. +: -i + If is listed among the other items on the command + line, it is selected at startup, and the menu is positioned + so that the mouse pointer is centered on said item. +: + += USAGE = + +`wmii9menu` is invoked with a list of arguments, each of which is +displayed as a menu item. The first _:_ in the item name, and any +text following it, is stripped. The menu is opened such that the +mouse pointer is centered on the selected item. If a mouse button is +depressed when the menu opens, then releasing it will confirm the +selection. Otherwise, a mouse press will do the same. When a +selection is made, `wmii9menu` prints the result. If the selected +item initially contained a _:_, the text following it is printed. +Otherwise, the item text itself is printed. + += ENVIRONMENT = + +: $WMII_ADDRESS + The address at which to connect to wmii. +: $NAMESPACE + The namespace directory to use if no address is + provided. +: += SEE ALSO = +wmii(1), wmiir(1), wimenu(1) + +[1] http://www.suckless.org/wiki/wmii/tips/9p_tips +