update batperc and added batpercd
This commit is contained in:
1 parent
898d3b2c59
commit
498d1f45d0
1 file changed
+1
-1
+1
-1
@@ -7,7 +7,7 @@ echo $batperc
|
|||||||
while true; do
|
while true; do
|
||||||
for i in $batperc; do
|
for i in $batperc; do
|
||||||
if [[ "$i" -le "20" ]]; then
|
if [[ "$i" -le "20" ]]; then
|
||||||
notify-send "battery low: $i%" -u critical
|
notify-send "Battery low: $i%" -u critical
|
||||||
sleep 60
|
sleep 60
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user