fix: fix dwmbar nuclear battery display

This commit is contained in:
David 2020-09-06 21:48:29 +02:00
parent a5b16031a8
commit d5a12a9577
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ status() { \
do
if [ $AC_ON -eq 0 ]; then
case "$(cat "$x")" in
10[1-9]) printf "" ;;
10[1-9]) printf " %3d%%" ;;
100|9[0-9]|8[0-9]) printf " %3d%%" $(cat "$x") ;;
7[0-9]|6[0-9]) printf " %3d%%" $(cat "$x") ;;
5[0-9]|4[0-9]) printf " %3d%%" $(cat "$x") ;;