-
Notifications
You must be signed in to change notification settings - Fork 0
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
Screen resolution not detected on every device #1
Comments
jNullj
added a commit
that referenced
this issue
Jul 22, 2022
Resolution should be selected based on the primary display as there might be multiple displays present. This also solves the issue of the monitor interface being different for each system while it was hardcoded in the old commit for a specific use case that would only work for a handful of users who use mainly laptops or other more integrated devices. This commit adds a function to find the current primary display and uses it for getting the screen resolution to be used when rendering the wallpaper Fixes issue #1
jNullj
added a commit
that referenced
this issue
Jul 22, 2022
Resolution should be selected based on the primary display as there might be multiple displays present. This also solves the issue of the monitor interface being different for each system while it was hardcoded in the old commit for a specific use case that would only work for a handful of users who use mainly laptops or other more integrated devices. This commit adds a function to find the current primary display and uses it for getting the screen resolution to be used when rendering the wallpaper and when setting the rendered wallpaper to the screen Fixes issue #1
solved with 929467f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fox-neat-wallpaper/fox-neat-wallpaper.sh
Line 19 in f452735
This assumes that the user has eDP interface to the monitor and that this is the primary screen in use.
Users might have multiple screens and varying name for the interface.
A fix could be to check which is the primary monitor used and making the query to the detected primary monitor.
The text was updated successfully, but these errors were encountered: