neofetch: Fix Terminal Font for mintty (#1641)

* neofetch: Fix Terminal Font for mintty

* Quiet shellcheck error
This commit is contained in:
Ross Smith II
2021-06-10 22:30:28 -07:00
committed by GitHub
parent 9b708d6e5f
commit 13cda3f7e4

View File

@@ -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"*)