Image: Better xrdb command
This commit is contained in:
parent
9496c542eb
commit
180d5b32c5
3
neofetch
3
neofetch
|
@ -2785,8 +2785,7 @@ get_term_padding() {
|
||||||
|
|
||||||
case "$term" in
|
case "$term" in
|
||||||
"URxvt"*)
|
"URxvt"*)
|
||||||
border="$(xrdb -query | grep -i "\(URxvt\|\*\)\.InternalBorder")"
|
border="$(xrdb -query | awk -F ':' '/^(URxvt|\*).internalBorder/ {printf $2; exit}')"
|
||||||
border="${border/*:}"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue