volumettf font fix
parent
4d2781fea2
commit
1c538f6b8c
|
@ -6,20 +6,20 @@ vol=$(LANG=C pactl list sinks | awk '/Volume:/ {printf "%s ",$5}' | cut -f1 -d '
|
||||||
|
|
||||||
if [[ $muted = "no" ]]; then
|
if [[ $muted = "no" ]]; then
|
||||||
if [[ $vol -ge 80 ]]; then
|
if [[ $vol -ge 80 ]]; then
|
||||||
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
||||||
elif [[ $vol -ge 70 ]]; then
|
elif [[ $vol -ge 70 ]]; then
|
||||||
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
||||||
elif [[ $vol -ge 60 ]]; then
|
elif [[ $vol -ge 60 ]]; then
|
||||||
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
||||||
elif [[ $vol -ge 50 ]]; then
|
elif [[ $vol -ge 50 ]]; then
|
||||||
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
||||||
elif [[ $vol -ge 30 ]]; then
|
elif [[ $vol -ge 30 ]]; then
|
||||||
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
||||||
elif [[ $vol -ge 10 ]]; then
|
elif [[ $vol -ge 10 ]]; then
|
||||||
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
||||||
elif [[ $vol -ge 0 ]]; then
|
elif [[ $vol -ge 0 ]]; then
|
||||||
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
echo "<sup><span size='xx-small'> $vol%</span></sup>"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "<sub><span size='xx-small'> $vol%</span></sub>"
|
echo "<sub><span size='xx-small'> $vol%</span></sub>"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue