diff --git a/neofetch b/neofetch index d34fad6e..41d1b57a 100755 --- a/neofetch +++ b/neofetch @@ -1961,7 +1961,7 @@ get_term_font() { "urxvt" | "urxvtd" | "rxvt-unicode" | "xterm") term_font="$(grep -i -F "${term/d}*font" < <(xrdb -query))" - term_font="${term_font/*font:}" + term_font="${term_font/*"*font:"}" term_font="$(trim "$term_font")" # Xresources has two different font formats, this checks which