term_font: Add missing substitution.

This commit is contained in:
Dylan Araps 2017-08-29 09:11:53 +10:00
parent 16c76e9b3a
commit ae2f270261
1 changed files with 1 additions and 0 deletions

View File

@ -1974,6 +1974,7 @@ get_term_font() {
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm") "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:"}"
term_font="${term_font/*"*.font:"}" term_font="${term_font/*"*.font:"}"
term_font="$(trim "$term_font")" term_font="$(trim "$term_font")"