diff --git a/neofetch b/neofetch index f3367be7..5cf2f5b1 100755 --- a/neofetch +++ b/neofetch @@ -3452,7 +3452,7 @@ END ;; "mintty") - term_font="$(awk -F '=' '!/^($|#)/ && /Font/ {printf $2; exit}' "${HOME}/.minttyrc")" + term_font="$(awk -F '=' '!/^($|#)/ && /^\\s*Font\\s*=/ {printf $2; exit}' "${HOME}/.minttyrc")" ;; "pantheon"*)