diff --git a/opt/wms_batlarm.sh b/opt/wms_batlarm.sh index db80083..7581de0 100755 --- a/opt/wms_batlarm.sh +++ b/opt/wms_batlarm.sh @@ -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.