From bc117fe68d734f3881b1058d86faae0c32fe6e9a Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sun, 28 Jul 2024 18:02:23 -0700 Subject: [PATCH] Update .config/polybar/scripts/powermenu.sh --- dot_config/polybar/scripts/executable_powermenu.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dot_config/polybar/scripts/executable_powermenu.sh b/dot_config/polybar/scripts/executable_powermenu.sh index 6b83a92..7ccfaf1 100644 --- a/dot_config/polybar/scripts/executable_powermenu.sh +++ b/dot_config/polybar/scripts/executable_powermenu.sh @@ -33,7 +33,7 @@ options="$lock\n$suspend\n$logout\n$reboot\n$shutdown" chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)" case $chosen in -$shutdown) +"$shutdown") ans=$(confirm_exit &) if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then systemctl poweroff @@ -43,7 +43,7 @@ $shutdown) msg fi ;; -$reboot) +"$reboot") ans=$(confirm_exit &) if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then systemctl reboot @@ -53,12 +53,12 @@ $reboot) msg fi ;; -$lock) +"$lock") if [[ -f /usr/bin/betterlockscreen ]]; then betterlockscreen -l fi ;; -$suspend) +"$suspend") ans=$(confirm_exit &) if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then mpc -q pause @@ -70,7 +70,7 @@ $suspend) msg fi ;; -$logout) +"$logout") ans=$(confirm_exit &) if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then