From 6cbf6c2e9a93c5abacf1361d7680ae099bf394d8 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Fri, 19 Feb 2016 16:52:52 +0000 Subject: minor changes --- Panel/lemonbar/batterymon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Panel') 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 -- cgit v1.2.3-54-g00ecf