Term Font: Added support for rxvt-unicode

This commit is contained in:
Dylan Araps 2017-01-08 12:08:10 +11:00
parent 2d50a44175
commit a59ff4b42f
1 changed files with 1 additions and 1 deletions

View File

@ -1598,7 +1598,7 @@ get_term_font() {
term_font="$(awk -F '= ' '/^font/ {a=$2} END{print a}' "${XDG_CONFIG_HOME}/termite/config")"
;;
"urxvt" | "urxvtd" | "xterm")
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
term_font="$(grep -i -F "${term/d}*font" < <(xrdb -query))"
term_font="${term_font/*font:}"
term_font="$(trim "$term_font")"