Commit 0acd2173 authored by vaernil's avatar vaernil

Fix Terminal Font displaying incorrect information in urxvt, if one of the fonts…

Fix Terminal Font displaying incorrect information in urxvt, if one of the fonts has 'font' in its name
parent 93e4f416
......@@ -1961,7 +1961,7 @@ get_term_font() {
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
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")"
# 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