Term: Simplify Hyper font detection
This commit is contained in:
parent
99438ec16b
commit
2fb963fcb8
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -1767,7 +1767,8 @@ get_term_font() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Hyper"*)
|
"Hyper"*)
|
||||||
term_font="$(awk -F "," '/fontFamily/ {a=$1} END{print a}' "${HOME}/.hyper.js" | awk -F "'" '{a=$2} END{print a}')"
|
term_font="$(awk -F':|,' '/fontFamily/ {print $2; exit}' "${HOME}/.hyper.js")"
|
||||||
|
term_font="$(trim_quotes "$term_font")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"konsole"*)
|
"konsole"*)
|
||||||
|
|
Loading…
Reference in a new issue