diff --git a/neofetch b/neofetch index 13b05887..7047a54b 100755 --- a/neofetch +++ b/neofetch @@ -1461,6 +1461,7 @@ getterm() { case "$TERM_PROGRAM" in "iTerm.app") term="iTerm2" ;; "Terminal.app") term="Apple Terminal" ;; + "Hyper") term="HyperTerm" ;; *) term="${TERM_PROGRAM/\.app}" ;; esac return @@ -1540,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^}"