all repos — openbox @ c84b844e94e985ebcbb93ab790d2f15a6f37aea5

openbox fork - make it a bit more like ryudo

data/menu.in (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# This is the default menu file for Openbox
# 
# Lines beginning with the '#' character are ignored.
#
# The new syntax is simpler than the old X resource format...
# Each menu item consists of 2 or 3 fields:
#
#	[command]  (label)  {data}
#
# where [command] is one of:
#
#   [begin] [end] [exec] [exit] [reconfig] [restart]
#   [submenu] [style] [include] [workspaces] [config]
#
# [begin] is used for the top level menu
# [submenu] is used for submenus
# [end] must be used with BOTH [begin] and [submenu] to tell the parser to stop
#   reading from the file.
#
# [exec] (label) {string}
# This will insert an item that runs a program.
#
# [exit] (label)
# This will insert an item that exits the window manager.
#
# [reconfig] (label) {string}
# This will insert an item that tells Openbox to re-read it's configuration
#  files.  {string} is optional, and if supplied, will execute the string with
#  /bin/sh -c before the reconfiguration is performed.  (this is helpful for
#  writing multiple config files and switching between them)
#
# [restart] (label) {string}
# This will insert an item to restart the window manager.  {string} is
# optional, and if omitted, Openbox will restart itself.  If {string} is
# specified, then a different window manager will be started.
#
# [style] (filename)
# This will insert an item to reconfigure Openbox with the new style. This
# change is saved when Openbox exits or restarts.
#
# [include] (filename)
# This will read more menu items from the file "filename".  The file cannot
# contain a [begin] or [end], except for the [end] needed for submenus.
#
# [workspaces] (label)
# This tells Openbox to insert a "link" to the workspaces menu directly
# into your menu.
#
# [config] (label)
# This tells Openbox to insert the ConfigMenu into your menu.  The ConfigMenu
# allows you to change several options found in your ~/.openbox/rc file on the
# fly.
#
# example:

[begin] (Openbox)
  [exec] (xterm)    {xterm -ls}
  [exec] (rxvt)     {rxvt}

  [exec] (StarOffice) {soffice}
  [exec] (XEmacs)     {xemacs}
  [exec] (Acroread)   {acroread}

  [submenu] (Graphics)
    [exec] (The GIMP)     {gimp}
    [exec] (Image Magick) {display}
  [end]

  [submenu] (Mozilla)
    [exec] (Mozilla Navigator)  {mozilla}
    [submenu] (More...)
      [exec] (Mozilla Mail)     {mozilla -mail}
      [exec] (Mozilla News)     {mozilla -news}
      [exec] (Mozilla Composer) {mozilla -edit}
    [end]
  [end]

  [submenu] (X Utilities)
    [exec] (Xfontsel) {xfontsel}
    [exec] (Xman)     {xman}
    [exec] (Xcalc)    {xcalc}
    [exec] (Xload)    {xload}
  [end]
 
  [submenu] (Styles) {Choose a style...}
    [stylesdir] (@datadir@/styles)
  [end]

  [workspaces] (Workspace List)
  [config] (Configuration)

  [reconfig] (Reconfigure)
  [restart] (Restart)
  [submenu] (Others)              {Other Window Managers}
    [restart] (Start FVWM)        {fvwm}
    [restart] (Start WindowMaker) {wmaker}
    [restart] (Start Afterstep)   {afterstep}
    [restart] (Start Enlightenment) {enlightenment}
    [restart] (Start TWM)         {twm}
    [restart] (Start KWM)         {kwm}
  [end]

  [exit] (Exit)
[end]

# End of example menu.