Merge pull request #422 from JorgeGonzalez/master
Add initial support for HyperTerm
This commit is contained in:
commit
6fdfb0c788
5
neofetch
5
neofetch
|
@ -1461,6 +1461,7 @@ getterm() {
|
||||||
case "$TERM_PROGRAM" in
|
case "$TERM_PROGRAM" in
|
||||||
"iTerm.app") term="iTerm2" ;;
|
"iTerm.app") term="iTerm2" ;;
|
||||||
"Terminal.app") term="Apple Terminal" ;;
|
"Terminal.app") term="Apple Terminal" ;;
|
||||||
|
"Hyper") term="HyperTerm" ;;
|
||||||
*) term="${TERM_PROGRAM/\.app}" ;;
|
*) term="${TERM_PROGRAM/\.app}" ;;
|
||||||
esac
|
esac
|
||||||
return
|
return
|
||||||
|
@ -1540,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