Use fg color for title if white. Fixes #250
This commit is contained in:
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]})"
|
||||||
|
|||||||
Reference in New Issue
Block a user