macOS Sierra (HyperTerm): Add termfont detection
This commit is contained in:
parent
a63a6a6b1d
commit
1830f9651b
1 changed files with 4 additions and 0 deletions
4
neofetch
4
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^}"
|
||||
|
|
Loading…
Reference in a new issue