mirror of
https://github.com/dylanaraps/neofetch
synced 2025-12-30 00:05:08 -05:00
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")
|
||||
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…
x
Reference in New Issue
Block a user