diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-08-22 20:44:04 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-08-22 20:44:04 -0400 |
commit | ad482d55d2f60cf3c91c9014b934af7ea30b4d88 (patch) | |
tree | 79bb00ec5be01214f1ebc99509308f2083c17717 /.wmii/rbar_battery | |
parent | 2f550711d01c7aa731d75edca9bc4d2a1f718045 (diff) | |
parent | 510fea7116c6bd01824af38b4e516b6e19fded81 (diff) |
Merge branch 'master' into build64-par
Conflicts:
.crontab
Diffstat (limited to '.wmii/rbar_battery')
-rwxr-xr-x | .wmii/rbar_battery | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.wmii/rbar_battery b/.wmii/rbar_battery new file mode 100755 index 0000000..7a7f24f --- /dev/null +++ b/.wmii/rbar_battery @@ -0,0 +1,10 @@ +#!/bin/bash +. "$HOME/.wmii/include.sh" + +priority=$1 + +set -e +while true; do + acpi -b |a "$WMII_DIR/rbar/${priority}_battery" + sleep 1 +done |