From e54ebf83673784354736e7e0cc208bdd90da620d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 13 Jun 2016 21:59:54 +1000 Subject: [PATCH] Fix incorrect info color when barinfo is used. Closes #282 --- neofetch | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 1e76d3dc..04a7d957 100755 --- a/neofetch +++ b/neofetch @@ -2866,7 +2866,7 @@ bar() { bar="$(color fg)[$bar" fi - printf "%b%s\n" "${bar}\033[0m" + printf "%b%s\n" "${bar}${info_color}" } # }}} @@ -2899,6 +2899,8 @@ kdeconfigdir () { # }}} +# Error {{{ + err () { err+="$(color 1)[!]$(color fg) $1 \n" } @@ -2906,6 +2908,9 @@ err () { # }}} +# }}} + + # Usage {{{