Commit 92aa5cf0 authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #802 from Vaernil/fix/urxvt-terminal-font

Fix Terminal Font displaying incorrect information in urxvt, if one of the fonts has 'font' in its name
parents 93e4f416 0acd2173
...@@ -1961,7 +1961,7 @@ get_term_font() { ...@@ -1961,7 +1961,7 @@ get_term_font() {
"urxvt" | "urxvtd" | "rxvt-unicode" | "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")"
# Xresources has two different font formats, this checks which # Xresources has two different font formats, this checks which
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment