sintax error fixed.
This commit is contained in:
parent
1723339016
commit
a54749e7dd
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue