diff --git a/neofetch b/neofetch index 9824bd78..58614836 100755 --- a/neofetch +++ b/neofetch @@ -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 }