Show state with progress bars

This commit is contained in:
Dylan 2016-03-26 01:26:42 +11:00
parent b15a9b4463
commit 8745dce02a

View file

@ -1635,8 +1635,8 @@ getbattery () {
case "$battery_display" in
"bar") battery="$(bar ${battery/'%'*} 100)" ;;
"infobar") battery="${battery/ Charging} $(bar "${battery/'%'*}" 100)" ;;
"barinfo") battery="$(bar "${battery/'%'*}" 100) ${battery/ Charging}" ;;
"infobar") battery="${battery} $(bar "${battery/'%'*}" 100)" ;;
"barinfo") battery="$(bar "${battery/'%'*}" 100) ${battery}" ;;
esac
}