added apple terminal font support
This commit is contained in:
parent
d504968041
commit
184149c302
4
neofetch
4
neofetch
|
@ -1807,6 +1807,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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue