diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2016-02-19 16:52:52 +0000 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2016-02-19 16:52:52 +0000 |
commit | 6cbf6c2e9a93c5abacf1361d7680ae099bf394d8 (patch) | |
tree | dff599b434837d6544c1550be9375f2e893c7d91 /Panel | |
parent | 8b1e83839544e21a91893e6b707af2aff47289bf (diff) | |
download | dotfiles-6cbf6c2e9a93c5abacf1361d7680ae099bf394d8.tar.gz dotfiles-6cbf6c2e9a93c5abacf1361d7680ae099bf394d8.tar.bz2 dotfiles-6cbf6c2e9a93c5abacf1361d7680ae099bf394d8.zip |
minor changes
Diffstat (limited to 'Panel')
-rwxr-xr-x | Panel/lemonbar/batterymon | 4 |
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 |