Term Font: Added support for rxvt-unicode
This commit is contained in:
parent
2d50a44175
commit
a59ff4b42f
2
neofetch
2
neofetch
|
@ -1598,7 +1598,7 @@ get_term_font() {
|
||||||
term_font="$(awk -F '= ' '/^font/ {a=$2} END{print a}' "${XDG_CONFIG_HOME}/termite/config")"
|
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="$(grep -i -F "${term/d}*font" < <(xrdb -query))"
|
||||||
term_font="${term_font/*font:}"
|
term_font="${term_font/*font:}"
|
||||||
term_font="$(trim "$term_font")"
|
term_font="$(trim "$term_font")"
|
||||||
|
|
Reference in New Issue