format: battery block simplification
This commit is contained in:
parent
e0e386c9dd
commit
a2a86bf24e
@ -42,10 +42,10 @@ do
|
||||
status=""
|
||||
else
|
||||
case "$capacity" in
|
||||
100|9[0-9]|8[0-9]) status="" ;;
|
||||
7[0-9]|6[0-9]) status="" ;;
|
||||
5[0-9]|4[0-9]) status="" ;;
|
||||
3[0-9]|2[0-9]) status="" ;;
|
||||
[8-9][0-9]) status="" ;;
|
||||
[6-7][0-9]) status="" ;;
|
||||
[4-5][0-9]) status="" ;;
|
||||
[2-3][0-9]) status="" ;;
|
||||
*) status="" ; notify;;
|
||||
esac
|
||||
fi
|
||||
|
Reference in New Issue
Block a user