diff --git a/neofetch b/neofetch index 8df42edc..b7035759 100755 --- a/neofetch +++ b/neofetch @@ -2261,7 +2261,7 @@ get_battery() { "Windows") battery="$(wmic Path Win32_Battery get EstimatedChargeRemaining)" battery="${battery/EstimatedChargeRemaining}" - [[ "$(trim "$battery")" ]] && battery="%" + [[ "$(trim "$battery")" ]] && battery="$(trim "$battery")%" ;; "Haiku")