diff --git a/arch-config/scripts/dunst-volume.sh b/arch-config/scripts/dunst-volume.sh index 8b60b4f6..55114f05 100755 --- a/arch-config/scripts/dunst-volume.sh +++ b/arch-config/scripts/dunst-volume.sh @@ -8,11 +8,11 @@ set -euo pipefail # $./dunst-volume.sh mute get_volume() { - amixer get Master | grep '%' | head -n 1 | cut -d '[' -f 2 | cut -d '%' -f 1 + amixer -D pulse get Master | grep '%' | head -n 1 | cut -d '[' -f 2 | cut -d '%' -f 1 } is_mute() { - amixer get Master | grep '%' | grep -oE '[^ ]+$' | grep off > /dev/null + amixer -D pulse get Master | grep '%' | grep -oE '[^ ]+$' | grep off > /dev/null } send_notification() {