1 | # This is the default menu file for Blackbox 0.33.0 and up |
---|
2 | # |
---|
3 | # Lines beginning with the '#' character are ignored. |
---|
4 | # |
---|
5 | # The new syntax is simpler than the old X resource format... |
---|
6 | # Each menu item consists of 2 or 3 fields: |
---|
7 | # |
---|
8 | # [command] (label) {data} |
---|
9 | # |
---|
10 | # where [command] is one of: |
---|
11 | # |
---|
12 | # [begin] [end] [exec] [exit] [reconfig] [restart] |
---|
13 | # [submenu] [style] [include] [workspaces] [config] |
---|
14 | # |
---|
15 | # [begin] is used for the top level menu |
---|
16 | # [submenu] is used for submenus |
---|
17 | # [end] must be used with BOTH [begin] and [submenu] to tell the parser to stop |
---|
18 | # reading from the file. |
---|
19 | # |
---|
20 | # [exec] (label) {string} |
---|
21 | # This will insert an item that runs a program. |
---|
22 | # |
---|
23 | # [exit] (label) |
---|
24 | # This will insert an item that exits the window manager. |
---|
25 | # |
---|
26 | # [reconfig] (label) {string} |
---|
27 | # This will insert an item that tells blackbox to re-read it's configuration |
---|
28 | # files. {string} is optional, and if supplied, will execute the string with |
---|
29 | # /bin/sh -c before the reconfiguration is performed. (this is helpful for |
---|
30 | # writing multiple config files and switching between them) |
---|
31 | # |
---|
32 | # [restart] (label) {string} |
---|
33 | # This will insert an item to restart the window manager. {string} is |
---|
34 | # optional, and if omitted, blackbox will restart itself. If {string} is |
---|
35 | # specified, then a different window manager will be started. |
---|
36 | # |
---|
37 | # [style] (filename) |
---|
38 | # This will insert an item to reconfigure blackbox with the new style. This |
---|
39 | # change is saved when blackbox exits or restarts. |
---|
40 | # |
---|
41 | # [include] (filename) |
---|
42 | # This will read more menu items from the file "filename". The file cannot |
---|
43 | # contain a [begin] or [end], except for the [end] needed for submenus. |
---|
44 | # |
---|
45 | # [workspaces] (label) |
---|
46 | # This tells Blackbox to insert a "link" to the workspaces menu directly |
---|
47 | # into your menu. |
---|
48 | # |
---|
49 | # [config] (label) |
---|
50 | # This tells Blackbox to insert the ConfigMenu into your menu. The ConfigMenu |
---|
51 | # allows you to change several options found in your ~/.blackboxrc file on the |
---|
52 | # fly. |
---|
53 | # |
---|
54 | # example: |
---|
55 | |
---|
56 | [begin] (Blackbox) |
---|
57 | [exec] (xterm) {xterm -ls} |
---|
58 | [end] |
---|
59 | |
---|
60 | # End of example menu. |
---|
61 | |
---|