Commit 16c76e9b authored by dylan araps's avatar dylan araps

term_font: Fix missing regex

parent 34cd1c8e
......@@ -1974,6 +1974,7 @@ get_term_font() {
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
term_font="$(grep -i "${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