summaryrefslogtreecommitdiffstats
path: root/.config/openbox/menu.xml
diff options
context:
space:
mode:
Diffstat (limited to '.config/openbox/menu.xml')
-rwxr-xr-x.config/openbox/menu.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/openbox/menu.xml b/.config/openbox/menu.xml
index 02e7c88..df12c5e 100755
--- a/.config/openbox/menu.xml
+++ b/.config/openbox/menu.xml
@@ -148,12 +148,12 @@
</item>
<item label="Lock screen">
<action name="Execute">
- <command>xscreensaver-command -lock</command>
+ <command>~/.local/bin/powercmd lock</command>
</action>
</item>
<item label="Sleep">
<action name="Execute">
- <command>sh -c "notify-send -u normal reboot \" G'night, partner!\"; sleep 2; acpiconf -s 3"</command>
+ <command>~/.local/bin/powercmd sleep</command>
</action>
</item>
<item label="Log Out">
@@ -163,12 +163,12 @@
</item>
<item label="Reboot">
<action name="Execute">
- <command>sh -c "emacsclient -e '\"(save-buffers-kill-emacs)\"'; notify-send -u normal reboot \" Rebootin' now!\"; sleep 2; systemctl reboot</command>
+ <command>~/.local/bin/powercmd reboot</command>
</action>
</item>
<item label="Shutdown">
<action name="Execute">
- <command>sh -c "emacsclient -e '\"(save-buffers-kill-emacs)\"'; notify-send -u normal shutdown ' Farewell, partner!'; sleep 2; systemctl poweroff</command>
+ <command>~/.local/bin/powercmd poweroff</command>
</action>
</item>
</menu>