Prepare for wayland

This commit is contained in:
Tobias Reisinger 2022-03-21 22:20:12 +01:00
parent 513e3b8263
commit 8b82ba2445
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 62 additions and 11 deletions
.local/bin

17
.local/bin/menu-shutdown Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
action=$(echo -e "Shutdown\nReboot\nLogout" | $MENU)
case "$action" in
"Shutdown")
systemctl poweroff -i
;;
"Reboot")
systemctl reboot
;;
"Logout")
systemctl --user exit
;;
*)
;;
esac