added apple terminal font support
This commit is contained in:
parent
d504968041
commit
184149c302
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -1807,6 +1807,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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue