Commit 16710426 authored by epsi sayidina's avatar epsi sayidina

openbox: menu: shutdown

parent d7621c6c
<openbox_pipe_menu>
<item label="Logout">
<action name="Exit" />
</item>
<item label="Suspend">
<action name="Execute"><execute>sudo pm-suspend</execute></action>
</item>
<item label="Hibernate">
<action name="Execute"><execute>sudo pm-hibernate</execute></action>
</item>
<item label="Reboot">
<action name="Execute"><execute>sudo reboot</execute></action>
</item>
<item label="Shutdown">
<action name="Execute"><execute>sudo poweroff</execute></action>
</item>
</openbox_pipe_menu>
<openbox_pipe_menu>
<item label="Logout">
<action name="Exit" />
</item>
<item label="Suspend">
<action name="Execute"><execute>systemctl suspend</execute></action>
</item>
<item label="Hibernate">
<action name="Execute"><execute>systemctl hibernate</execute></action>
</item>
<item label="Reboot">
<action name="Execute"><execute>systemctl reboot</execute></action>
</item>
<item label="Shutdown">
<action name="Execute"><execute>systemctl poweroff</execute></action>
</item>
</openbox_pipe_menu>
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="system-menu" label="System">
<item label="Openbox Configuration Manager">
......@@ -26,15 +25,14 @@
<menu execute="cat /home/epsi/.config/openbox/menu.xdg.xml"
id="xdg-menu" label="XDG Menu"/>
<separator label="Dynamic Script"/>
<menu execute="cat /home/epsi/.config/openbox/menu.applications.xml"
id="lxde-apps" label="LXDE Applications"/>
<menu execute="cat /home/epsi/.config/openbox/menu.bunsenlabs.xml"
id="bunsenlabs-menu" label="BunsenLabs"/>
<separator label="System"/>
<menu id="system-menu"/>
<separator/>
<item label="Log Out">
<action name="Exit">
<prompt>yes</prompt>
</action>
</item>
<menu execute="cat /home/epsi/.config/openbox/menu.systemd.xml"
id="exit-menu" label="Exit" >
</menu>
</openbox_menu>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment