From 0b812fbc5dd2102ea5481a30c3fb254ba22cb313 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 20 Jan 2019 05:36:25 +0200 Subject: [PATCH] general: Fix issue with URxvt and no internal border. Closes #1174 --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index 64c75f6e..fbc983a5 100755 --- a/neofetch +++ b/neofetch @@ -4197,6 +4197,7 @@ term_padding() { case "$term" in urxvt*|"rxvt-unicode") [[ -z "$xrdb" ]] && xrdb="$(xrdb -query)" + [[ $xrdb != *.internalBorder:* ]] && return padding="${xrdb/*.internalBorder:}" ((padding=${padding/$'\n'*})) ;;