From 056a99bfa2d6b05900cc00ae5c7667eaa72c1417 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 8 Jan 2019 16:26:28 +0200 Subject: [PATCH] resolution: If resolution is empty don't print it. --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index 239e8d93..39f0600e 100755 --- a/neofetch +++ b/neofetch @@ -2617,6 +2617,7 @@ get_resolution() { esac resolution="${resolution%,*}" + [[ -z ${resolution/x} ]] && resolution= } get_style() {