Fix shutdown

This commit is contained in:
Alexis Jhon Gaspar 2023-09-28 20:45:55 +08:00
parent 6cd1cfa3e7
commit 364186e5f0

View file

@ -5,7 +5,7 @@ USER_OPT1=$(printf "Shutdown\nReboot\nExit\nLock\nKill X" | spmenu -b -l 5 -g 1
case "$USER_OPT1" in
"Shutdown") sudo shutdown now || doas shutdown now || systemctl shutdown ;;
"Shutdown") sudo shutdown now || doas shutdown now || systemctl poweroff ;;
"Reboot") reboot || systemctl reboot ;;
"Exit") loginctl kill-session self;;
"Lock") slock ;;