Created
February 5, 2018 03:39
-
-
Save jakemayeux/2c0e0a0b162a83e5cb6241d25acdb296 to your computer and use it in GitHub Desktop.
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
let "cur = `cat /sys/class/power_supply/BAT0/current_avg`" | |
let "xbl = `xbacklight -get | grep -o '^[0-9]*'`" | |
#echo $xbl" "$(($cur / 1000))" " | |
echo ""$(($cur / 1000))" " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment