summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot-config/rofi/scripts/rofi_powermenu4
1 files changed, 2 insertions, 2 deletions
diff --git a/dot-config/rofi/scripts/rofi_powermenu b/dot-config/rofi/scripts/rofi_powermenu
index 3fa27e93..63bb21c6 100755
--- a/dot-config/rofi/scripts/rofi_powermenu
+++ b/dot-config/rofi/scripts/rofi_powermenu
@@ -154,7 +154,7 @@ confirm_run2 () {
confirm_run3 () {
selected="$(confirm_exit3)"
if [[ "$selected" == "$yes" ]]; then
- ${1} && ${2} && ${3}
+ ${1}; ${2} && ${3}
else
exit
fi
@@ -205,7 +205,7 @@ run_cmd() {
elif [[ "$1" == '--opt2' ]]; then
confirm_run2 'bspc quit'
elif [[ "$1" == '--opt3' ]]; then
- confirm_run3 'mpc -q pause' 'systemctl suspend' #'betterlockscreen --suspend' 'pulsemixer --unmute' # 'pulsemixer --mute'
+ confirm_run3 'playerctl pause' 'systemctl suspend' #'betterlockscreen --suspend' 'pulsemixer --unmute' # 'pulsemixer --mute'
elif [[ "$1" == '--opt4' ]]; then
confirm_run4 'systemctl hibernate'
elif [[ "$1" == '--opt5' ]]; then