sintax error fixed.

This commit is contained in:
#root_informatica 2024-07-10 11:19:14 -03:00
parent 1723339016
commit a54749e7dd

View file

@ -4,14 +4,14 @@
## this script depends on power.sh which is in the /others repo ##
# wms_batlarm.sh by @root_informatica.
. /tmp/wms_var
. $HOME/.config/wms/wms_var
# freq.
FREQ=0.5
# alternate colors.
COLORS="aa0000 $AC"
while true:; do
while true; do
# battery status.
read -r STATUS < /sys/class/power_supply/BAT0/status
# if status discharging.