mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 19:49:54 +00:00
If the title color is white then use foreground color
This commit is contained in:
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user