Some fixed.

This commit is contained in:
#root_informatica 2023-08-26 01:55:35 -03:00
parent f2681af087
commit f4694a7ad2

View file

@ -10,7 +10,7 @@ COLORS="aa0000 $AC" # alternate colors
while :; do
read -r STATUS < /sys/class/power_supply/BAT0/status # battery status
if [ $STATUS = "Discharging" ]; then # if status discharging
if [ "$STATUS" = "Discharging" ]; then # if status discharging
for c in $COLORS; do # alternate border colors
chwb -c $c $(pfw)
sleep $FREQ