mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
macOS Sierra (HyperTerm): Add termfont detection
This commit is contained in:
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^}"
|
||||
|
||||
Reference in New Issue
Block a user