From ce9f607051e8fec08f9e373857efd1a20b34b2ad Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Thu, 1 Sep 2016 14:11:36 +0100 Subject: [PATCH] Add bluetooth earphones support to volume indicator --- .config/i3/blocks/volume | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/i3/blocks/volume b/.config/i3/blocks/volume index a6f704c..f33b059 100755 --- a/.config/i3/blocks/volume +++ b/.config/i3/blocks/volume @@ -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