-
-
Save SlaSerX/141ed96e26f52ad92e599783a0c6ee91 to your computer and use it in GitHub Desktop.
Battery notify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BATT=`acpi -b | awk '{ split($5,a,":"); print substr($3,0,2), $4, "["a[1]":"a[2]"]" }' | tr -d ',' | awk '{print $2}' | sed 's/\%//g'` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment