Merge branch 'term_font' of github.com:dylanaraps/neofetch into term_font

This commit is contained in:
Dylan Araps 2016-05-28 10:15:24 +10:00
commit aed6e9a40f
1 changed files with 4 additions and 0 deletions

View File

@ -1805,6 +1805,10 @@ gettermfont () {
"mintty")
termfont="$(awk -F '=' '!/^($|#)/ && /Font/ {printf $2; exit}' "${HOME}/.minttyrc")"
;;
"Apple_Terminal")
termfont="$(osascript -e 'tell application "Terminal" to font name of window frontmost')"
;;
esac
}