From 814743b31513b61b5b3e0fad90a9fd4e4a84a1b6 Mon Sep 17 00:00:00 2001 From: dylan araps Date: Tue, 29 Aug 2017 12:51:00 +1000 Subject: [PATCH] term_font: Fix URxvt detection when a dot is used. --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 872554e9..4689b9ae 100755 --- a/neofetch +++ b/neofetch @@ -1972,7 +1972,7 @@ get_term_font() { ;; "urxvt" | "urxvtd" | "rxvt-unicode" | "xterm") - term_font="$(grep -i "${term/d}\*\.*font" < <(xrdb -query))" + term_font="$(grep -i "${term/d}\**\.*font" < <(xrdb -query))" term_font="${term_font/*"*font:"}" term_font="${term_font/*".font:"}" term_font="${term_font/*"*.font:"}"