Merge branch 'coloradocolby-sb-volume-fix'

This commit is contained in:
Luke Smith 2021-10-18 08:50:21 -04:00
commit 7deabbf3e4
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -19,10 +19,12 @@ vol="$(pamixer --get-volume)"
if [ "$vol" -gt "70" ]; then if [ "$vol" -gt "70" ]; then
icon="🔊" icon="🔊"
elif [ "$vol" -lt "30" ]; then elif [ "$vol" -gt "30" ]; then
icon="🔉"
elif [ "$vol" -gt "0" ]; then
icon="🔈" icon="🔈"
else else
icon="🔉" echo 🔇 && exit
fi fi
echo "$icon$vol%" echo "$icon$vol%"