diff --git a/hyprland/.config/rofi/applets/bin/powermenu.sh b/hyprland/.config/rofi/applets/bin/powermenu.sh index 71f3a83..f29bf1f 100755 --- a/hyprland/.config/rofi/applets/bin/powermenu.sh +++ b/hyprland/.config/rofi/applets/bin/powermenu.sh @@ -103,7 +103,7 @@ run_cmd() { if [[ "$1" == '--opt1' ]]; then swaylock elif [[ "$1" == '--opt2' ]]; then - confirm_run 'kill -9 -1' + confirm_run 'hyprctl dispatch exit' elif [[ "$1" == '--opt3' ]]; then confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend' elif [[ "$1" == '--opt4' ]]; then