If the title color is white then use foreground color
This commit is contained in:
parent
864795da7d
commit
1fd6cd5b00
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -2328,6 +2328,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="\033[0m\033[3${colors[0]}m"
|
title_color="\033[0m\033[3${colors[0]}m"
|
||||||
at_color="\033[0m\033[3${colors[1]}m"
|
at_color="\033[0m\033[3${colors[1]}m"
|
||||||
|
|
Loading…
Reference in a new issue