Fixed batteries script notifying for critically low battery charge

This commit is contained in:
Vlad
2026-01-11 09:45:58 +03:00
parent 2fe354a1bd
commit 126ba356c0
2 changed files with 2 additions and 2 deletions

View File

@ -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"