mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
term: [urxvt/xterm] Show greedy fonts.
This commit is contained in:
2
neofetch
2
neofetch
@@ -3021,7 +3021,7 @@ END
|
||||
|
||||
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
|
||||
xrdb="$(xrdb -query)"
|
||||
term_font="$(grep -i "${term/d}"'\**\.*font' <<< "$xrdb")"
|
||||
term_font="$(grep -im 1 -e "^${term/d}"'\**\.*font' -e "^\\*font" <<< "$xrdb")"
|
||||
term_font="${term_font/*"*font:"}"
|
||||
term_font="${term_font/*".font:"}"
|
||||
term_font="${term_font/*"*.font:"}"
|
||||
|
Reference in New Issue
Block a user