From 16c76e9b3a9173df670128ee82195123e7d7552f Mon Sep 17 00:00:00 2001 From: dylan araps Date: Mon, 28 Aug 2017 13:56:39 +1000 Subject: [PATCH] term_font: Fix missing regex --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index 2d50ae22..46454cb1 100755 --- a/neofetch +++ b/neofetch @@ -1974,6 +1974,7 @@ get_term_font() { "urxvt" | "urxvtd" | "rxvt-unicode" | "xterm") term_font="$(grep -i "${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