docs/menu.xml: adjust format

This commit is contained in:
Johan Malm 2026-02-04 20:50:24 +00:00
parent 9427496f07
commit 35172ca592

View file

@ -1,23 +1,23 @@
<openbox_menu> <openbox_menu>
<!-- Note: for localization support of menu items "client-menu" has to be removed here --> <!-- Note: for localization support of menu items "client-menu" has to be removed here -->
<menu id="client-menu"> <menu id="client-menu">
<item label="Minimize"> <item label="Minimize">
<action name="Iconify" /> <action name="Iconify"/>
</item> </item>
<item label="Maximize"> <item label="Maximize">
<action name="ToggleMaximize" /> <action name="ToggleMaximize"/>
</item> </item>
<item label="Fullscreen"> <item label="Fullscreen">
<action name="ToggleFullscreen" /> <action name="ToggleFullscreen"/>
</item> </item>
<item label="Roll Up/Down"> <item label="Roll Up/Down">
<action name="ToggleShade" /> <action name="ToggleShade"/>
</item> </item>
<item label="Decorations"> <item label="Decorations">
<action name="ToggleDecorations" /> <action name="ToggleDecorations"/>
</item> </item>
<item label="Always on Top"> <item label="Always on Top">
<action name="ToggleAlwaysOnTop" /> <action name="ToggleAlwaysOnTop"/>
</item> </item>
<!-- <!--
Any menu with the id "workspaces" will be hidden Any menu with the id "workspaces" will be hidden
@ -32,25 +32,26 @@
<menu id="client-send-to-menu" label="Send to..." /> <menu id="client-send-to-menu" label="Send to..." />
--> -->
<item label="Close"> <item label="Close">
<action name="Close" /> <action name="Close"/>
</item> </item>
</menu> </menu>
<menu id="root-menu">
<menu id="root-menu"> <!--
<!-- Make client-list-combined-menu a submenu of root-menu Make client-list-combined-menu a submenu of root-menu
You must supply a label or it will not appear in root-menu --> You must supply a label or it will not appear in root-menu
-->
<!-- <!--
<menu id="client-list-combined-menu" label="Running..." /> <menu id="client-list-combined-menu" label="Running..." />
--> -->
<item label="Terminal"> <item label="Terminal">
<action name="Execute" command="lab-sensible-terminal" /> <action name="Execute" command="lab-sensible-terminal"/>
</item> </item>
<separator /> <separator/>
<item label="Reconfigure"> <item label="Reconfigure">
<action name="Reconfigure" /> <action name="Reconfigure"/>
</item> </item>
<item label="Exit"> <item label="Exit">
<action name="Exit" /> <action name="Exit"/>
</item> </item>
<!-- <!--
# A prompt can be used as follows: # A prompt can be used as follows:
@ -63,21 +64,19 @@
</action> </action>
</item> </item>
--> -->
</menu> </menu>
<menu id="some-custom-menu">
<menu id="some-custom-menu">
<!-- <!--
Creates menu title. Creates menu title.
To create an empty header with no text, To create an empty header with no text,
set label=" ", not label="" set label=" ", not label=""
--> -->
<separator label="custom menu" /> <separator label="custom menu"/>
<item label="Reconfigure"> <item label="Reconfigure">
<action name="Reconfigure" /> <action name="Reconfigure"/>
</item> </item>
<item label="Exit"> <item label="Exit">
<action name="Exit" /> <action name="Exit"/>
</item> </item>
</menu> </menu>
</openbox_menu> </openbox_menu>