diff --git a/neofetch b/neofetch index 895dbe43..4ba90936 100755 --- a/neofetch +++ b/neofetch @@ -1767,7 +1767,8 @@ get_term_font() { ;; "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"*)