termfont: Parse xrdb instead of .XresourceS

This commit is contained in:
Dylan Araps 2016-05-21 00:33:48 +10:00
parent 9d63edcbf7
commit d504968041
1 changed files with 1 additions and 1 deletions

View File

@ -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