diff --git a/volume-pulseaudio/volume-pulseaudio b/volume-pulseaudio/volume-pulseaudio index 53663a5a..8a99d248 100755 --- a/volume-pulseaudio/volume-pulseaudio +++ b/volume-pulseaudio/volume-pulseaudio @@ -75,7 +75,7 @@ done if [[ -z "$MIXER" ]] ; then MIXER="default" - if [[ "$(amixer info | head -1 | cut -d ' ' -f 2)" == "pulse" ]] ; then + if amixer -D pulse info >/dev/null 2>&1 ; then MIXER="pulse" fi fi