Skip to content

Commit

Permalink
volume-pulseaudio: pulse-detection: explicitly try the "pulse" device
Browse files Browse the repository at this point in the history
  • Loading branch information
kb100 committed Jan 17, 2018
1 parent 777a056 commit 72e7afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volume-pulseaudio/volume-pulseaudio
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72e7afe

Please sign in to comment.