From dc2f0832b74cd15d0c10a6c142cac1dacc3eaf05 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Tue, 15 Oct 2024 16:23:19 -0600 Subject: [PATCH] narrow spaces between wide character icons and percent --- waybar/waybar-battery.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybar/waybar-battery.sh b/waybar/waybar-battery.sh index 0e49a7a..58ee138 100755 --- a/waybar/waybar-battery.sh +++ b/waybar/waybar-battery.sh @@ -53,7 +53,7 @@ elif [[ $1 == bar ]]; then STATUS="✘" ;; esac - printf '{"text":"%b%%","icon":"%b ","percentage":"%b","tooltip":"%b","class":"%b"}' "${STATUS}${LEVEL}" $STATUS $LEVEL "$TIME" $CLASS + printf '{"text":"%b%%","icon":"%b ","percentage":"%b","tooltip":"%b","class":"%b"}' "${STATUS}  ${LEVEL}" $STATUS $LEVEL "$TIME" $CLASS exit elif [[ $1 == 'notify' ]]; then notify-send Battery "$(echo $ACPI | cut -d':' -f2- | sed 's/\s//')"