Use fg color for title if white. Fixes #250
This commit is contained in:
parent
b6f69aede8
commit
b6a178ab01
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -2618,6 +2618,7 @@ setcolors () {
|
||||||
|
|
||||||
# If the second color is white use the first for the subtitle
|
# If the second color is white use the first for the subtitle
|
||||||
[ "$2" == 7 ] && subtitle_color="\033[0m\033[3${1}m"
|
[ "$2" == 7 ] && subtitle_color="\033[0m\033[3${1}m"
|
||||||
|
[ "$1" == 7 ] && title_color="\033[0m"
|
||||||
else
|
else
|
||||||
title_color="$(color ${colors[0]})"
|
title_color="$(color ${colors[0]})"
|
||||||
at_color="$(color ${colors[1]})"
|
at_color="$(color ${colors[1]})"
|
||||||
|
|
Loading…
Reference in a new issue