diff --git a/neofetch b/neofetch index b7035759..6e966d3a 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")%" + batttery=“$(trim “$battery”)%” ;; "Haiku")