misc: cleanup
This commit is contained in:
parent
bd5706ca0e
commit
2f917c78d2
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -3004,14 +3004,14 @@ END
|
||||||
|
|
||||||
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
|
"urxvt" | "urxvtd" | "rxvt-unicode" | "xterm")
|
||||||
xrdb="$(xrdb -query)"
|
xrdb="$(xrdb -query)"
|
||||||
term_font="$(grep -i "${term/d}\**\.*font" <<< "$xrdb")"
|
term_font="$(grep -i "${term/d}"'\**\.*font' <<< "$xrdb")"
|
||||||
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:"}"
|
||||||
term_font="$(trim "$term_font")"
|
term_font="$(trim "$term_font")"
|
||||||
|
|
||||||
[[ -z "$term_font" && "$term" == "xterm" ]] && \
|
[[ -z "$term_font" && "$term" == "xterm" ]] && \
|
||||||
term_font="$(grep -E '^XTerm.vt100.faceName' <<< "$xrdb")"
|
term_font="$(grep '^XTerm.vt100.faceName' <<< "$xrdb")"
|
||||||
|
|
||||||
term_font="$(trim "${term_font/*"faceName:"}")"
|
term_font="$(trim "${term_font/*"faceName:"}")"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue