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