From 97b4f04d3368c803b5a4c57196211c7c9af30ebe Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 19 Jun 2018 16:02:24 +1000 Subject: [PATCH] term: [urxvt/xterm] Show greedy fonts. --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 7e5a7cc8..f36f2005 100755 --- a/neofetch +++ b/neofetch @@ -3021,7 +3021,7 @@ END "urxvt" | "urxvtd" | "rxvt-unicode" | "xterm") xrdb="$(xrdb -query)" - term_font="$(grep -i "${term/d}"'\**\.*font' <<< "$xrdb")" + term_font="$(grep -im 1 -e "^${term/d}"'\**\.*font' -e "^\\*font" <<< "$xrdb")" term_font="${term_font/*"*font:"}" term_font="${term_font/*".font:"}" term_font="${term_font/*"*.font:"}"