From d5049680412ae4d8f3fc77b859a9b7d5acd358f7 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 21 May 2016 00:33:48 +1000 Subject: [PATCH] termfont: Parse xrdb instead of .XresourceS --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 058e940b..9faa2395 100755 --- a/neofetch +++ b/neofetch @@ -1781,7 +1781,7 @@ gettermfont () { case "$term" in "urxvt" | "urxvtd" | "xterm") - termfont="$(grep -i "${term/d}\*font" "$HOME/.Xresources")" + termfont="$(grep -i "${term/d}\*font" <<< $(xrdb -query))" termfont=${termfont/*font: } # Xresources has two different font syntax, this checks which