From 6ae64c5990bdf4fe545d51fd45bade637628f105 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 23 Jan 2020 01:20:01 +0200 Subject: [PATCH] neofetch: Fix resolution issue. Closes #1347 --- neofetch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neofetch b/neofetch index 0b741130..cc17c58b 100755 --- a/neofetch +++ b/neofetch @@ -2809,6 +2809,8 @@ get_resolution() { resolution="$(xrandr --nograb --current |\ awk -F 'connected |\\+|\\(' \ '/ connected/ && $2 {printf $2 ", "}')" + + resolution="${resolution/primary, }" resolution="${resolution/primary }" ;; esac