Show state with progress bars
This commit is contained in:
parent
b15a9b4463
commit
8745dce02a
4
neofetch
4
neofetch
|
@ -1635,8 +1635,8 @@ getbattery () {
|
||||||
|
|
||||||
case "$battery_display" in
|
case "$battery_display" in
|
||||||
"bar") battery="$(bar ${battery/'%'*} 100)" ;;
|
"bar") battery="$(bar ${battery/'%'*} 100)" ;;
|
||||||
"infobar") battery="${battery/ Charging} $(bar "${battery/'%'*}" 100)" ;;
|
"infobar") battery="${battery} $(bar "${battery/'%'*}" 100)" ;;
|
||||||
"barinfo") battery="$(bar "${battery/'%'*}" 100) ${battery/ Charging}" ;;
|
"barinfo") battery="$(bar "${battery/'%'*}" 100) ${battery}" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue