termfont: Parse xrdb instead of .XresourceS
This commit is contained in:
parent
9d63edcbf7
commit
d504968041
2
neofetch
2
neofetch
|
@ -1781,7 +1781,7 @@ gettermfont () {
|
|||
|
||||
case "$term" in
|
||||
"urxvt" | "urxvtd" | "xterm")
|
||||
termfont="$(grep -i "${term/d}\*font" "$HOME/.Xresources")"
|
||||
termfont="$(grep -i "${term/d}\*font" <<< $(xrdb -query))"
|
||||
termfont=${termfont/*font: }
|
||||
|
||||
# Xresources has two different font syntax, this checks which
|
||||
|
|
Reference in New Issue