update batperc and added batpercd

This commit is contained in:
wt
2024-07-14 19:33:40 +07:00
parent 898d3b2c59
commit 498d1f45d0
+1 -1
View File
@@ -7,7 +7,7 @@ echo $batperc
while true; do
for i in $batperc; do
if [[ "$i" -le "20" ]]; then
notify-send "battery low: $i%" -u critical
notify-send "Battery low: $i%" -u critical
sleep 60
fi
done