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