Fix battery script more

This commit is contained in:
Alexander Bantyev 2022-02-04 12:55:46 +03:00
parent e903d0723e
commit 75d30f7bf4
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -25,17 +25,17 @@
STATUS=33 STATUS=33
fi fi
case $PERCENTAGE in case $PERCENTAGE in
1?) icon=;; [0-9]) icon=;;
2?) icon=;; 1[0-9]) icon=;;
3?) icon=;; 2[0-9]) icon=;;
4?) icon=;; 3[0-9]) icon=;;
5?) icon=;; 4[0-9]) icon=;;
6?) icon=;; 5[0-9]) icon=;;
7?) icon=;; 6[0-9]) icon=;;
8?) icon=;; 7[0-9]) icon=;;
9?) icon=;; 8[0-9]) icon=;;
9[0-9]) icon=;;
100) icon=;; 100) icon=;;
*) icon=;;
esac esac
fi fi
if [ -n "$DELIM" ]; then if [ -n "$DELIM" ]; then