[status] fix: sb-volume icons
This commit is contained in:
parent
24424c17ec
commit
40c7430ca7
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user