tweaked powermenu script:

This commit is contained in:
spinach 2023-02-11 18:47:52 -05:00
parent b57aabd13e
commit aeb80cc537

View File

@ -73,7 +73,6 @@ run_cmd() {
systemctl reboot systemctl reboot
elif [[ $1 == '--suspend' ]]; then elif [[ $1 == '--suspend' ]]; then
mpc -q pause mpc -q pause
amixer set Master mute
systemctl suspend systemctl suspend
elif [[ $1 == '--logout' ]]; then elif [[ $1 == '--logout' ]]; then
if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then