mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
A menu is defined by `<menu id="" label="">` A `<menu id="" />` element merely creates an item pointing to already defined menu. Fixes issue #109
23 lines
574 B
XML
23 lines
574 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<openbox_menu>
|
|
|
|
<menu id="root-menu" label="">
|
|
<item label="Web browser">
|
|
<action name="Execute"><command>firefox</command></action>
|
|
</item>
|
|
<item label="Terminal">
|
|
<action name="Execute"><command>alacritty</command></action>
|
|
</item>
|
|
<item label="Reconfigure">
|
|
<action name="Reconfigure"></action>
|
|
</item>
|
|
<item label="Exit">
|
|
<action name="Exit"></action>
|
|
</item>
|
|
<item label="Poweroff">
|
|
<action name="Execute"><command>systemctl -i poweroff</command></action>
|
|
</item>
|
|
</menu>
|
|
|
|
</openbox_menu>
|