Fix shutdown
This commit is contained in:
parent
6cd1cfa3e7
commit
364186e5f0
|
@ -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 ;;
|
||||
|
|
Loading…
Reference in a new issue