From 186525c897368323904082a8c0d6f0da3575d05f Mon Sep 17 00:00:00 2001 From: "Archie Hilton (thytom)" Date: Fri, 25 Oct 2019 16:31:27 +0100 Subject: Improve spacing in battery module. --- modules/battery | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/battery') diff --git a/modules/battery b/modules/battery index 901a66e..b5e25fa 100755 --- a/modules/battery +++ b/modules/battery @@ -2,12 +2,12 @@ # Prints out battery percentage -CHARGING_ICON=' ' -WARNING_ICON=' ' -BATTERY_FULL_ICON=' ' -BATTERY_2_ICON=' ' -BATTERY_3_ICON=' ' -BATTERY_4_ICON=' ' +CHARGING_ICON='' +WARNING_ICON='' +BATTERY_FULL_ICON='' +BATTERY_2_ICON='' +BATTERY_3_ICON='' +BATTERY_4_ICON='' FULL_AT=98 -- cgit v1.2.3 From f1affabae0891f0746cc68d6dafee33d5ffaf1ce Mon Sep 17 00:00:00 2001 From: "Archie Hilton (thytom)" Date: Sat, 26 Oct 2019 15:45:40 +0100 Subject: Changed battery icon spacing Spacing is only inserted if charging or warning icon shows. --- modules/battery | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/battery') diff --git a/modules/battery b/modules/battery index b5e25fa..ba61912 100755 --- a/modules/battery +++ b/modules/battery @@ -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 -- cgit v1.2.3