general: Fix issue with URxvt and no internal border. Closes #1174
This commit is contained in:
parent
415ef5d4ae
commit
0b812fbc5d
1
neofetch
1
neofetch
|
@ -4197,6 +4197,7 @@ term_padding() {
|
||||||
case "$term" in
|
case "$term" in
|
||||||
urxvt*|"rxvt-unicode")
|
urxvt*|"rxvt-unicode")
|
||||||
[[ -z "$xrdb" ]] && xrdb="$(xrdb -query)"
|
[[ -z "$xrdb" ]] && xrdb="$(xrdb -query)"
|
||||||
|
[[ $xrdb != *.internalBorder:* ]] && return
|
||||||
padding="${xrdb/*.internalBorder:}"
|
padding="${xrdb/*.internalBorder:}"
|
||||||
((padding=${padding/$'\n'*}))
|
((padding=${padding/$'\n'*}))
|
||||||
;;
|
;;
|
||||||
|
|
Reference in New Issue