master labwc.menu.xml
 1<openbox_menu>
 2<!-- Note: for localization support of menu items "client-menu" has to be removed here -->
 3<menu id="client-menu">
 4  <item label="mini">
 5    <action name="Iconify" />
 6  </item>
 7  <item label="max">
 8    <action name="ToggleMaximize" />
 9  </item>
10  <item label="full">
11    <action name="ToggleFullscreen" />
12  </item>
13  <item label="roll">
14    <action name="ToggleShade" />
15  </item>
16  <item label="decor">
17    <action name="ToggleDecorations" />
18  </item>
19  <item label="top">
20    <action name="ToggleAlwaysOnTop" />
21  </item>
22  <!--
23    Any menu with the id "workspaces" will be hidden
24    if there is only a single workspace available.
25  -->
26  <menu id="client-send-to-menu" />
27  <!--
28    openbox default workspace selector
29    to use replace above workspace menu with the example below
30    the label is required, but you can change the text.
31
32    <menu id="client-send-to-menu" label="Send to..." />
33  -->
34  <item label="close">
35    <action name="Close" />
36  </item>
37</menu>
38
39<menu id="art" label="internet">
40  <item label="librewolf"><action name="Execute" command="librewolf" /></item>
41  <item label="dillo"><action name="Execute" command="dillo" /></item>
42</menu>
43
44<menu id="web" label="arts">
45  <item label="krita"><action name="Execute" command="krita" /></item>
46  <item label="picker"><action name="Execute" command="pick" /></item>
47</menu>
48
49<menu id="root-menu">
50  <!-- Make client-list-combined-menu a submenu of root-menu
51       You must supply a label or it will not appear in root-menu -->
52  <!--
53  <menu id="client-list-combined-menu" label="Running..." />
54  -->
55  <item label="term"><action name="Execute" command="foot" />
56  </item>
57  <item label="emacs"><action name="Execute" command="emacs" />
58  </item>
59  <menu id="art"/>
60  <menu id="web"/>
61  <separator />
62  <item label="reconfigure">
63    <action name="Reconfigure" />
64  </item>
65  <item label="quit">
66    <action name="Exit" />
67  </item>
68  <!--
69  # A prompt can be used as follows:
70  <item label="Exit">
71    <action name="If">
72      <prompt message="Do you really want to exit the compositor?" />
73      <then>
74        <action name="Exit" />
75      </then>
76    </action>
77  </item>
78  -->
79</menu>
80
81<menu id="some-custom-menu">
82  <!--
83    Creates menu title.
84    To create an empty header with no text,
85    set label=" ", not label=""
86  -->
87  <separator label="custom menu" />
88  <item label="reconfigure">
89    <action name="Reconfigure" />
90  </item>
91  <item label="quit">
92    <action name="Exit" />
93  </item>
94</menu>
95
96</openbox_menu>