From 184149c30214266b35d1eb85851d961271f09bed Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Mon, 23 May 2016 12:35:47 +1000 Subject: [PATCH] added apple terminal font support --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 9faa2395..9cefba0e 100755 --- a/neofetch +++ b/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 }