dotfiles/dot_config/openbox/menu.xml

44 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu>
<menu id="root-menu" label="OpenBox 3">
<item label="terminal"> <action name="Execute">
<execute>st</execute>
</action> </item>
<item label="editor"> <action name="Execute">
<execute>gvim</execute>
</action> </item>
<item label="files"> <action name="Execute">
<execute>pcmanfm</execute>
</action> </item>
<item label="browser"> <action name="Execute">
<execute>chrome --disk-cache-dir=/tmp/cache</execute>
</action> </item>
<separator/>
<menu id="network-menu" label="network">
<menu id="wifi-list" label="Wifi configured" execute="doas /home/jan/.local/bin/nmctl --list" />
<menu id="wifi-scan" label="Wifi scan" execute="doas /home/jan/.local/bin/nmctl --scan" />
</menu>
<menu id="37" label="config">
<item label="openbox"> <action name="Execute">
<execute>obconf</execute>
</action> </item>
<item label="tint2"> <action name="Execute">
<execute>tint2conf</execute>
</action> </item>
<item label="printers"> <action name="Execute">
<execute>system-config-printer</execute>
</action> </item>
<item label="reload"> <action name="Reconfigure"/> </item>
<menu id="client-list-menu"/>
</menu>
<separator/>
<item label="lock"> <action name="Execute">
<execute>slock</execute>
</action> </item>
<item label="sleep"> <action name="Execute">
<execute>doas systemctl suspend</execute>
</action> </item>
<item label="exit"> <action name="Exit"/> </item>
</menu>
</openbox_menu>