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
1 changed files with 1 additions and 1 deletions

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")"