From 8d1a7fa41b773d4f7b53dfff2d9fc5166d34f104 Mon Sep 17 00:00:00 2001 From: Ethan Edwards Date: Wed, 17 Feb 2021 18:02:04 -0500 Subject: [PATCH] Fix for #89 , problem with padding option --- scripts/dracula.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 4a5f4ae..bb4f5de 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -69,7 +69,7 @@ main() # Handle left icon padding padding="" if [ "$show_left_icon_padding" -gt "0" ]; then - padding="$(seq -f " " -s '' $show_left_icon_padding)" + padding="$(printf '%*s' $show_left_icon_padding)" fi left_icon="$left_icon$padding"