scripts

shell scripts
git clone git://git.bitsmanent.org/scripts
Log | Files | Refs | README

commit 436b41c30b90a8c3d322c24e3ad411611d17d3d1
parent a151ef7068840274e006da817dfbf3be8daf5cef
Author: clamiax <smoppy@gmail.com>
Date:   Fri, 26 Dec 2014 11:31:31 +0100

Refine critic/warning battery levels

Diffstat:
Macpi | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/acpi b/acpi @@ -1,8 +1,8 @@ #!/bin/bash STATE=mem -BATTCRITIC=3 -BATTWARNING=8 +BATTCRITIC=5 +BATTWARNING=10 ACPLUGGED="$(cat $(du -a /sys/devices |grep 'AC0/online' |awk '{print $2}'))" LIDSTATE="$(cat /proc/acpi/button/lid/LID/state |awk '{print $2}')"