[status] fix: sb-volume icons

This commit is contained in:
David JULIEN 2022-11-07 19:12:35 +01:00
parent 24424c17ec
commit 40c7430ca7
1 changed files with 4 additions and 5 deletions

View File

@ -13,16 +13,15 @@
vol="$(pulsemixer --get-volume | awk -F " " '{ printf "%d", $1 }')"
if [ "1" = $(pulsemixer --get-mute) ]; then
icon=""
icon=""
else
if [ "$vol" -gt "70" ]; then
icon=""
icon=""
elif [ "$vol" -lt "30" ]; then
icon=""
icon=""
else
icon=""
icon="奔"
fi
fi
printf " %s %3d%% " $icon $vol