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,83 +1,82 @@
<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
if there is only a single workspace available. if there is only a single workspace available.
--> -->
<menu id="client-send-to-menu"/> <menu id="client-send-to-menu"/>
<!-- <!--
openbox default workspace selector openbox default workspace selector
to use replace above workspace menu with the example below to use replace above workspace menu with the example below
the label is required, but you can change the text. the label is required, but you can change the text.
<menu id="client-send-to-menu" label="Send to..." />
-->
<item label="Close">
<action name="Close" />
</item>
</menu>
<menu id="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 -->
<!--
<menu id="client-list-combined-menu" label="Running..." />
-->
<item label="Terminal">
<action name="Execute" command="lab-sensible-terminal" />
</item>
<separator />
<item label="Reconfigure">
<action name="Reconfigure" />
</item>
<item label="Exit">
<action name="Exit" />
</item>
<!--
# A prompt can be used as follows:
<item label="Exit">
<action name="If">
<prompt message="Do you really want to exit the compositor?"/>
<then>
<action name="Exit"/>
</then>
</action>
</item>
-->
</menu>
<menu id="some-custom-menu">
<!--
Creates menu title.
To create an empty header with no text,
set label=" ", not label=""
-->
<separator label="custom menu" />
<item label="Reconfigure">
<action name="Reconfigure" />
</item>
<item label="Exit">
<action name="Exit" />
</item>
</menu>
<menu id="client-send-to-menu" label="Send to..." />
-->
<item label="Close">
<action name="Close"/>
</item>
</menu>
<menu id="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
-->
<!--
<menu id="client-list-combined-menu" label="Running..." />
-->
<item label="Terminal">
<action name="Execute" command="lab-sensible-terminal"/>
</item>
<separator/>
<item label="Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Exit">
<action name="Exit"/>
</item>
<!--
# A prompt can be used as follows:
<item label="Exit">
<action name="If">
<prompt message="Do you really want to exit the compositor?"/>
<then>
<action name="Exit"/>
</then>
</action>
</item>
-->
</menu>
<menu id="some-custom-menu">
<!--
Creates menu title.
To create an empty header with no text,
set label=" ", not label=""
-->
<separator label="custom menu"/>
<item label="Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Exit">
<action name="Exit"/>
</item>
</menu>
</openbox_menu> </openbox_menu>