Commit 180d5b32 authored by Dylan Araps's avatar Dylan Araps

Image: Better xrdb command

parent 9496c542
...@@ -2785,8 +2785,7 @@ get_term_padding() { ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment