Fixed batteries script notifying for critically low battery charge
This commit is contained in:
1 parent
2fe354a1bd
commit
126ba356c0
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ for battery in $batteries; do
|
||||
text+="<span foreground=\"${COLOR}\">${BATTEXT}</span> "
|
||||
|
||||
[ "$STAT" = "Charging" ] && ischarging=1
|
||||
[ "$BAT" -gt 10 ] hasenough=1
|
||||
[ "$BAT" -gt 10 ] && hasenough=1
|
||||
done
|
||||
printf "${text:0:-1}\n\n"
|
||||
|
||||
|
||||
Reference in new issue
Block a user