aboutsummaryrefslogtreecommitdiff
path: root/Panel/lemonbar/batterymon
diff options
context:
space:
mode:
Diffstat (limited to 'Panel/lemonbar/batterymon')
-rwxr-xr-xPanel/lemonbar/batterymon4
1 files changed, 2 insertions, 2 deletions
diff --git a/Panel/lemonbar/batterymon b/Panel/lemonbar/batterymon
index 19a4d5a..efee0a9 100755
--- a/Panel/lemonbar/batterymon
+++ b/Panel/lemonbar/batterymon
@@ -1,6 +1,6 @@
#!/bin/bash
while true;do
-if [ `battery -f '%i'` -lt 5 ] && ! [ -z ~/.dontshut ]; then
+if [ `battery -f '%i'` -lt 4 ] && ! [ -z ~/.dontshut ]; then
touch ~/.dontshut
zenity --question --title "Battery" --text "Battery if pretty fucking low, go to sleep?"
if [ $? -ne 1 ];then
@@ -9,5 +9,5 @@ fi
else
rm ~/.dontshut
fi
-sleep 30;
+sleep 180;
done