macOS Sierra (HyperTerm): Add termfont detection
This commit is contained in:
parent
a63a6a6b1d
commit
1830f9651b
4
neofetch
4
neofetch
|
@ -1541,6 +1541,10 @@ gettermfont() {
|
||||||
termfont="${termfont/.pcf}"
|
termfont="${termfont/.pcf}"
|
||||||
termfont="${termfont/:*}"
|
termfont="${termfont/:*}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"HyperTerm")
|
||||||
|
termfont="$(awk -F "," '/fontFamily/ {a=$1} END{print a}' "${HOME}/.hyper.js" | awk -F "'" '{a=$2} END{print a}')"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[ "$version" -ge 4 ] && termfont="${termfont^}"
|
[ "$version" -ge 4 ] && termfont="${termfont^}"
|
||||||
|
|
Reference in New Issue