Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks when trying to show dual displays. #8

Open
nullnullnull999 opened this issue Aug 29, 2021 · 2 comments
Open

Breaks when trying to show dual displays. #8

nullnullnull999 opened this issue Aug 29, 2021 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed urgent Top Priority Issue

Comments

@nullnullnull999
Copy link

nullnullnull999 commented Aug 29, 2021

I currently have a dual monitor setup and the display section glitches out trying to show both my 1920x1080 monitors.

image
image

What it should probably do (ft. neofetch)
image

@FrenzyExists FrenzyExists added bug Something isn't working help wanted Extra attention is needed urgent Top Priority Issue labels Aug 29, 2021
@FrenzyExists
Copy link
Owner

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 🤔 . I'll keep in it mind, I'll let you know if I fix the issue, thanks for the heads up! 👍

@FrenzyExists FrenzyExists pinned this issue Aug 29, 2021
@FrenzyExists
Copy link
Owner

Update:

@glintty I finally fixed the issue, two years late but heyyy better late than never.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed urgent Top Priority Issue
Projects
None yet
Development

No branches or pull requests

2 participants