diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-27 15:24:05 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-27 15:24:05 -0400 |
commit | 674efbf431f2c1c879c9bfed05f7ed6adce22351 (patch) | |
tree | b873ec80e45fb1bd9a414bb25c4e27d68c8861cf /.config/wmii/rbar_battery | |
parent | de9c3e08412ae13cc8a2d1e4418d9e9257f67518 (diff) |
pre-merge move
Diffstat (limited to '.config/wmii/rbar_battery')
-rwxr-xr-x | .config/wmii/rbar_battery | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/wmii/rbar_battery b/.config/wmii/rbar_battery new file mode 100755 index 0000000..7a7f24f --- /dev/null +++ b/.config/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 |