neofetch: Fix resolution issue. Closes #1347

parent f5263176
...@@ -2809,6 +2809,8 @@ get_resolution() { ...@@ -2809,6 +2809,8 @@ get_resolution() {
resolution="$(xrandr --nograb --current |\ resolution="$(xrandr --nograb --current |\
awk -F 'connected |\\+|\\(' \ awk -F 'connected |\\+|\\(' \
'/ connected/ && $2 {printf $2 ", "}')" '/ connected/ && $2 {printf $2 ", "}')"
resolution="${resolution/primary, }"
resolution="${resolution/primary }" resolution="${resolution/primary }"
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment