From 180d5b32c557c6eff25330f9e6d19d9d336317f9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 18 Dec 2016 20:05:31 +1100 Subject: [PATCH] Image: Better xrdb command --- neofetch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neofetch b/neofetch index b60a978a..4bc46fd8 100755 --- a/neofetch +++ b/neofetch @@ -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 }