term_font: Fix missing regex
This commit is contained in:
parent
34cd1c8e62
commit
16c76e9b3a
1
neofetch
1
neofetch
|
@ -1974,6 +1974,7 @@ get_term_font() {
|
||||||
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
|
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
|
||||||
term_font="$(grep -i "${term/d}\*\.*font" < <(xrdb -query))"
|
term_font="$(grep -i "${term/d}\*\.*font" < <(xrdb -query))"
|
||||||
term_font="${term_font/*"*font:"}"
|
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
|
||||||
|
|
Reference in New Issue