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