Keep old format behaviour
This commit is contained in:
parent
59147b9974
commit
68f6524a57
1 changed files with 6 additions and 0 deletions
6
neofetch
6
neofetch
|
@ -2530,6 +2530,12 @@ prin () {
|
||||||
string="$(printf "%.$((columns - ${padding_num/C} - gap))s" "$string")"
|
string="$(printf "%.$((columns - ${padding_num/C} - gap))s" "$string")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If $2 doesn't exist we format $1 as info
|
||||||
|
if [ -z "$2" ]; then
|
||||||
|
subtitle_color="$info_color"
|
||||||
|
bold=
|
||||||
|
fi
|
||||||
|
|
||||||
# Format the output
|
# Format the output
|
||||||
string="${string/:/"\033[0m"${colon_color}:${info_color}}"
|
string="${string/:/"\033[0m"${colon_color}:${info_color}}"
|
||||||
string="${subtitle_color}${bold}${string}"
|
string="${subtitle_color}${bold}${string}"
|
||||||
|
|
Loading…
Reference in a new issue