Fix volume block icons

This commit is contained in:
Riyyi
2018-10-24 13:08:05 +02:00
parent 1ccbdebd34
commit ff23720281
+2 -2
View File
@@ -18,9 +18,9 @@ else
COLOR="#FFF"
VOLUME="$($MEDIACONTROL getvolume)%"
if [ "$VOLUME" -ge "50" ]; then
if [ "${VOLUME%?}" -ge "50" ]; then
SYMBOL=""
elif [ "$VOLUME" -ge "25" ]; then
elif [ "${VOLUME%?}" -ge "25" ]; then
SYMBOL=""
else
SYMBOL=""