From 3a2538ac2e31dd19b559a097676a51932eea7e6c Mon Sep 17 00:00:00 2001 From: Daniel Memije Date: Wed, 16 Dec 2020 11:11:02 -0600 Subject: [PATCH] Fixed @dracula-left-icon-padding not disabling padding when 0 --- scripts/dracula.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 8a2f886..4a5f4ae 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -67,7 +67,10 @@ main() esac # Handle left icon padding + padding="" + if [ "$show_left_icon_padding" -gt "0" ]; then padding="$(seq -f " " -s '' $show_left_icon_padding)" + fi left_icon="$left_icon$padding" # Handle powerline option