neofetch: Fix resolution issue. Closes #1347
This commit is contained in:
parent
f5263176dd
commit
6ae64c5990
1 changed files with 2 additions and 0 deletions
2
neofetch
2
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
|
||||
|
|
Loading…
Reference in a new issue