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