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
icon="🔊"
elif [ "$vol" -lt "30" ]; then
elif [ "$vol" -gt "30" ]; then
icon="🔉"
elif [ "$vol" -gt "0" ]; then
icon="🔈"
else
icon="🔉"
echo 🔇 && exit
fi
echo "$icon$vol%"