Open nullnullnull999 opened 3 years ago
Ah I see, mmm, I think the prob is with the extra spacing, the resolution is obtained by
xrandr --current | grep ' connected' | grep -o '[0-9]\+x[0-9]\+'
and to keep the size consistent:
size=$((32 - $(echo "$res" | wc -m) - $(echo "display" | wc -m) - 2))
Since having the res called twice is quite a large string because the fetch size is 32 letters (hardcoded atm), I think I could add something like
display ........ 1920x1080 (2)
as a way to show there's two monitors of the same size, I still wonder how I could keep the sizing if both monitors are of different sizes :thinking: . I'll keep in it mind, I'll let you know if I fix the issue, thanks for the heads up! :+1:
Update:
@glintty I finally fixed the issue, two years late but heyyy better late than never.
I currently have a dual monitor setup and the display section glitches out trying to show both my 1920x1080 monitors.
What it should probably do (ft. neofetch)