Changed battery icon spacing

Spacing is only inserted if charging or warning icon shows.
This commit is contained in:
Archie Hilton (thytom) 2019-10-26 15:45:40 +01:00
parent f2c4077fec
commit f1affabae0

View file

@ -2,8 +2,8 @@
# Prints out battery percentage
CHARGING_ICON=''
WARNING_ICON=''
CHARGING_ICON=' '
WARNING_ICON=' '
BATTERY_FULL_ICON=''
BATTERY_2_ICON=''
BATTERY_3_ICON=''
@ -37,7 +37,7 @@ get_battery()
BAT_ICON=$BATTERY_2_ICON
fi
fi
echo "$ICON $BAT_ICON $capacity%"
echo "$ICON$BAT_ICON $capacity%"
}
get_battery