term_font: Fix URxvt detection when a dot is used.
This commit is contained in:
parent
0380406733
commit
814743b315
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1972,7 +1972,7 @@ get_term_font() {
|
|||
;;
|
||||
|
||||
"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:"}"
|
||||
|
|
Loading…
Reference in a new issue