Image: Better xrdb command

This commit is contained in:
Dylan Araps 2016-12-18 20:05:31 +11:00
parent 9496c542eb
commit 180d5b32c5

View file

@ -2785,8 +2785,7 @@ get_term_padding() {
case "$term" in
"URxvt"*)
border="$(xrdb -query | grep -i "\(URxvt\|\*\)\.InternalBorder")"
border="${border/*:}"
border="$(xrdb -query | awk -F ':' '/^(URxvt|\*).internalBorder/ {printf $2; exit}')"
;;
esac
}