diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-16 19:09:42 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-16 19:09:42 -0400 |
commit | 1ff883371700757696efafefe266572776ac9558 (patch) | |
tree | d2104f7f405f4fe7a8957e86f53300ee6d4b1aeb /.wmii/rbar_battery | |
parent | 3d607ee3f5dc7fd27bbce6c447e02778310a4b9d (diff) | |
parent | 3515a46d330af1d09bf1e0b963c13a86c2dbe8a8 (diff) |
Merge branch 'master' into build64-par
Conflicts:
.login-daemons
Diffstat (limited to '.wmii/rbar_battery')
-rwxr-xr-x | .wmii/rbar_battery | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.wmii/rbar_battery b/.wmii/rbar_battery index 7a7f24f..ae8980a 100755 --- a/.wmii/rbar_battery +++ b/.wmii/rbar_battery @@ -3,8 +3,7 @@ priority=$1 -set -e -while true; do - acpi -b |a "$WMII_DIR/rbar/${priority}_battery" +while connected_to_x_server; do + acpi -b >> "$WMII_DIR/rbar/${priority}_battery" sleep 1 done |