diff options
-rwxr-xr-x | .local/bin/powermenu | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.local/bin/powermenu b/.local/bin/powermenu index 31a8f8a..e1896b1 100755 --- a/.local/bin/powermenu +++ b/.local/bin/powermenu @@ -20,20 +20,18 @@ case $chosen in swaylock -f -i "$wallpaper" ;; "$power_off") - loginctl poweroff + doas poweroff ;; "$reboot") - loginctl reboot + doas reboot ;; "$suspend") - $lock && loginctl suspend + # $lock && loginctl suspend ;; "$hibernate") - $lock && loginctl hibernate + # $lock && loginctl hibernate ;; "$log_out") - #swaymsg exit - #loginctl terminate-session "${XDG_SESSION_ID-}" riverctl exit ;; esac |