Some fixed.
This commit is contained in:
parent
f2681af087
commit
f4694a7ad2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue