diff --git a/scripts/bar.sh b/scripts/bar.sh index 7a45cd3..0a83ff8 100755 --- a/scripts/bar.sh +++ b/scripts/bar.sh @@ -66,7 +66,7 @@ battery() { icon=$icon_battery if [ -n "$charging" ]; then - echo -n "$icon_battery_charging " + icon=$icon_battery_charging fi info="%{F$color_battery_good}$level%%{F-}" if [ "$level" -lt 20 ]; then