1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Add bluetooth earphones support to volume indicator

This commit is contained in:
Joe Groocock 2016-09-01 14:11:36 +01:00
parent 34d7ae3a12
commit ce9f607051

View File

@ -77,6 +77,8 @@ ACTIVE=$(pacmd list-sinks | grep '* index' | awk -F": " '{print $2}')
if pactl list short sinks | grep -q \^$ACTIVE".*Yeti"; then
printf ""
elif pactl list short sinks | grep -q \^$ACTIVE".*bluez"; then
printf " "
elif [ "$VOL" -eq -1 ]; then
printf "X"
exit 0