From 8745dce02adacea958a1a9cbb3bf048adcef52d1 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 26 Mar 2016 01:26:42 +1100 Subject: [PATCH] Show state with progress bars --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }