term_font: Fixed font not being found in URxvt if dot was used.

This commit is contained in:
dylan araps 2017-08-28 13:38:45 +10:00
parent 8f6570f74a
commit 076e4bd189

View file

@ -1972,7 +1972,7 @@ get_term_font() {
;;
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
term_font="$(grep -i -F "${term/d}*font" < <(xrdb -query))"
term_font="$(grep -i "${term/d}\*\.*font" < <(xrdb -query))"
term_font="${term_font/*"*font:"}"
term_font="$(trim "$term_font")"