From a54749e7dd0cf2a712f642b4235cb4744ab09e01 Mon Sep 17 00:00:00 2001 From: root_informatica Date: Wed, 10 Jul 2024 11:19:14 -0300 Subject: [PATCH] sintax error fixed. --- opt/wms_batlarm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.