term_font: Fix URxvt detection when a dot is used.
This commit is contained in:
parent
0380406733
commit
814743b315
2
neofetch
2
neofetch
|
@ -1972,7 +1972,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="${term_font/*".font:"}"
|
||||||
term_font="${term_font/*"*.font:"}"
|
term_font="${term_font/*"*.font:"}"
|
||||||
|
|
Reference in New Issue