From 076e4bd189caacfb335fd4d5c8d1f8b77e96fade Mon Sep 17 00:00:00 2001 From: dylan araps Date: Mon, 28 Aug 2017 13:38:45 +1000 Subject: [PATCH] term_font: Fixed font not being found in URxvt if dot was used. --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 4b9acc7e..2d50ae22 100755 --- a/neofetch +++ b/neofetch @@ -1972,7 +1972,7 @@ get_term_font() { ;; "urxvt" | "urxvtd" | "rxvt-unicode" | "xterm") - term_font="$(grep -i -F "${term/d}*font" < <(xrdb -query))" + term_font="$(grep -i "${term/d}\*\.*font" < <(xrdb -query))" term_font="${term_font/*"*font:"}" term_font="$(trim "$term_font")"