diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-14 12:25:16 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-14 12:25:16 -0400 |
commit | 41a3b584a31b708e0f5c5d45ecd258937cc0a1b1 (patch) | |
tree | f99300ded37bcb726d9c0b6327e91ef04252a852 /.config/wmii-hg/rbar_acpi | |
parent | 94c9bdc5f7e832982947c903c258ea651e27c378 (diff) | |
parent | 05b500a6688c7a7ff9a04fe748a091d33df654a9 (diff) |
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/wmii-hg/rbar_acpi')
-rwxr-xr-x | .config/wmii-hg/rbar_acpi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/wmii-hg/rbar_acpi b/.config/wmii-hg/rbar_acpi index 24742f8..9c557e0 100755 --- a/.config/wmii-hg/rbar_acpi +++ b/.config/wmii-hg/rbar_acpi @@ -15,7 +15,8 @@ update() { -e 's/\s*remaining//g' \ -e 's/\s*until charged//g' \ -e 's/charging at zero rate - will never fully charge./∞/g' \ - -e 's/\s*ok,\s*//g' | + -e 's/\s*ok,\s*//g' \ + -e 's/\s+//g' | cat -n | while read -r n line; do printf "label %s\n" "$line" | write "${id}.${n}" done |