Prepare for wayland
This commit is contained in:
parent
513e3b8263
commit
8b82ba2445
7 changed files with 62 additions and 11 deletions
.local/bin
17
.local/bin/menu-shutdown
Executable file
17
.local/bin/menu-shutdown
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue