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:
parent
34d7ae3a12
commit
ce9f607051
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user