diff options
author | Joe <rrbo@proton.me> | 2023-01-09 19:21:46 +0100 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-01-09 19:21:46 +0100 |
commit | 4d549e39e9dd65b74c1b9f60a34b8ea691032144 (patch) | |
tree | 41f91dd74289ae0909fdff598c1efc11d2ce58a4 /.config/openbox/menu.xml | |
parent | update (diff) | |
download | dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.tar.gz dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.tar.bz2 dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.tar.xz dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.tar.zst dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.zip |
wip
Diffstat (limited to '.config/openbox/menu.xml')
-rwxr-xr-x | .config/openbox/menu.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.config/openbox/menu.xml b/.config/openbox/menu.xml index 595a4a6..aa4d1bd 100755 --- a/.config/openbox/menu.xml +++ b/.config/openbox/menu.xml @@ -175,11 +175,39 @@ <item label="Reload"> <action name="Reconfigure" /> </item> + <item label="Lock screen"> + <action name="Execute"> + <command>xscreensaver-command -lock</command> + </action> + </item> + <item label="Sleep"> + <action name="Execute"> + <command>notify-send -u normal reboot " G'night, partner!"</command> + <command>sleep 2</command> + <command>acpiconf -s 3</command> + </action> + </item> <item label="Log Out"> <action name="Exit"> <prompt>yes</prompt> </action> </item> + <item label="Reboot"> + <action name="Execute"> + <command>emacsclient -e '"(save-buffers-kill-emacs)"'</command> + <command>notify-send -u normal reboot " Rebootin' now!"</command> + <command>sleep 2</command> + <command>shutdown -r now</command> + </action> + </item> + <item label="Shutdown"> + <action name="Execute"> + <command>emacsclient -e '"(save-buffers-kill-emacs)"'</command> + <command>notify-send -u normal shutdown ' Farewell, partner!'</command> + <command>sleep 2</command> + <command>shutdown -p now</command> + </action> + </item> </menu> </openbox_menu> |