Merge branch 'term_font' of github.com:dylanaraps/neofetch into term_font
This commit is contained in:
commit
aed6e9a40f
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -1805,6 +1805,10 @@ gettermfont () {
|
||||||
"mintty")
|
"mintty")
|
||||||
termfont="$(awk -F '=' '!/^($|#)/ && /Font/ {printf $2; exit}' "${HOME}/.minttyrc")"
|
termfont="$(awk -F '=' '!/^($|#)/ && /Font/ {printf $2; exit}' "${HOME}/.minttyrc")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Apple_Terminal")
|
||||||
|
termfont="$(osascript -e 'tell application "Terminal" to font name of window frontmost')"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue