fix: fix dwmbar nuclear battery display
This commit is contained in:
parent
a5b16031a8
commit
d5a12a9577
@ -47,7 +47,7 @@ status() { \
|
|||||||
do
|
do
|
||||||
if [ $AC_ON -eq 0 ]; then
|
if [ $AC_ON -eq 0 ]; then
|
||||||
case "$(cat "$x")" in
|
case "$(cat "$x")" in
|
||||||
10[1-9]) printf "" ;;
|
10[1-9]) printf " %3d%%" ;;
|
||||||
100|9[0-9]|8[0-9]) printf " %3d%%" $(cat "$x") ;;
|
100|9[0-9]|8[0-9]) printf " %3d%%" $(cat "$x") ;;
|
||||||
7[0-9]|6[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") ;;
|
5[0-9]|4[0-9]) printf " %3d%%" $(cat "$x") ;;
|
||||||
|
Reference in New Issue
Block a user