mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-25 12:55:00 +00:00
term_font: Fix URxvt detection when a dot is used.
This commit is contained in:
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:"}"
|
||||
|
||||
Reference in New Issue
Block a user