From 0acd21732d9b54131a3d11826fc0c97be3bb4100 Mon Sep 17 00:00:00 2001 From: vaernil Date: Fri, 11 Aug 2017 21:31:16 +0200 Subject: [PATCH] Fix Terminal Font displaying incorrect information in urxvt, if one of the fonts has 'font' in its name --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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