From 3ac52b171709eeb1773cc4290c44e9505dfd5966 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 27 Mar 2016 20:49:06 +1100 Subject: [PATCH] Don't let total bar be white --- neofetch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 11e1f58f..01e5f680 100755 --- a/neofetch +++ b/neofetch @@ -2347,8 +2347,10 @@ setcolors () { [ "$progress_color_elapsed" == "distro" ] && \ progress_color_elapsed="7" - [ "$progress_color_total" == "distro" ] && \ + if [ "$progress_color_total" == "distro" ]; then progress_color_total="$2" + [ "$2" == 7 ] && progress_color_total="${1}" + fi } color () {