From 1830f9651bda5e6ccc9a0f045496a1ad1f56dc47 Mon Sep 17 00:00:00 2001 From: Jorge Gonzalez Date: Fri, 4 Nov 2016 17:44:44 -0400 Subject: [PATCH] macOS Sierra (HyperTerm): Add termfont detection --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 05a1b3cd..7047a54b 100755 --- a/neofetch +++ b/neofetch @@ -1541,6 +1541,10 @@ gettermfont() { termfont="${termfont/.pcf}" termfont="${termfont/:*}" ;; + + "HyperTerm") + termfont="$(awk -F "," '/fontFamily/ {a=$1} END{print a}' "${HOME}/.hyper.js" | awk -F "'" '{a=$2} END{print a}')" + ;; esac [ "$version" -ge 4 ] && termfont="${termfont^}"