Merge branch 'coloradocolby-sb-volume-fix'
This commit is contained in:
commit
7deabbf3e4
1 changed files with 4 additions and 2 deletions
|
@ -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%"
|
||||
|
|
Loading…
Reference in a new issue