term_font: Fix URxvt detection when a dot is used.

This commit is contained in:
dylan araps 2017-08-29 12:51:00 +10:00
parent 0380406733
commit 814743b315

View file

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