1 # This is the default menu file for Blackbox 0.33.0 and up
3 # Lines beginning with the '#' character are ignored.
5 # The new syntax is simpler than the old X resource format...
6 # Each menu item consists of 2 or 3 fields:
8 # [command] (label) {data}
10 # where [command] is one of:
12 # [begin] [end] [exec] [exit] [reconfig] [restart] [submenu] [style] [include]
14 # [begin] is used for the top level menu
15 # [submenu] is used for submenus
16 # [end] must be used with BOTH [begin] and [submenu] to tell the parser to stop
17 # reading from the file.
19 # [exec] (label) {string}
20 # This will insert an item that runs a program.
23 # This will insert an item that exits the window manager.
25 # [reconfig] (label) {string}
26 # This will insert an item that tells blackbox to re-read it's configuration
27 # files. {string} is optional, and if supplied, will execute the string with
28 # /bin/sh -c before the reconfiguration is performed. (this is helpful for
29 # writing multiple config files and switching between them)
31 # [restart] (label) {string}
32 # This will insert an item to restart the window manager. {string} is
33 # optional, and if omitted, blackbox will restart itself. If {string} is
34 # specified, then a different window manager will be started.
37 # This will insert an item to reconfigure blackbox with the new style. This
38 # change is saved when blackbox exits or restarts.
40 # [include] (filename)
41 # This will read more menu items from the file "filename". The file cannot
42 # contain a [begin] or [end], except for the [end] needed for submenus.
46 [begin] (Blackbox 0.50.x)
47 [exec] (xterm) {xterm -ls}
50 [exec] (StarOffice) {soffice}
51 [exec] (XEmacs) {xemacs}
52 [exec] (Acroread) {acroread}
56 [exec] (The GIMP) {gimp}
57 [exec] (Image Magick) {display}
61 [exec] (Netscape Navigator) {netscape}
63 [exec] (Netscape Mail) {netscape -mail}
64 [exec] (Netscape News) {netscape -news}
65 [exec] (Netscape Composer) {netscape -edit}
69 [submenu] (X Utilities)
70 [exec] (Xfontsel) {xfontsel}
72 [exec] (Xcalc) {xcalc}
73 [exec] (Xload) {xload}
76 [include] (:pkgdatadir:/styles/stylesmenu)
78 [reconfig] (Reconfigure)
80 [submenu] (Others) {Other Window Managers}
81 [restart] (Start FVWM) {fvwm}
82 [restart] (Start WindowMaker) {wmaker}
83 [restart] (Start Afterstep) {afterstep}
84 [restart] (Start TWM) {twm}
85 [restart] (Start KWM) {kwm}
86 [restart] (Start MWM) {mwm}
92 # End of example menu.