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

Add "highest" mode to Monitor for autoconfiguration. #706

Merged
merged 7 commits into from
Sep 23, 2022
Merged

Add "highest" mode to Monitor for autoconfiguration. #706

merged 7 commits into from
Sep 23, 2022

Conversation

DashieTM
Copy link
Contributor

Describe your PR, what does it fix/add?

Adds 2 new monitor resolution modes.
-- highrr -> highest with refreshrate preference
-- highres -> highest with resolution preference

Should none be possible for whatever reason, then it will default to preferred.

These 2 features are useful to autoconfigure monitors that do not have a good preferred mode. aka 4k monitor defaulting to 1080p or high refreshrate defaulting to 60.
This also means that switching between them is now possible.

this would add a rule for all random monitors to use their "best" possible setting.
monitor=,highrr,auto,1
OR
monitor=,highres,auto,1

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

If someone has wonky setups that can be tested with this, then please do so, it was intended for exactly this.

Is it ready for merging, or does it need work?

Compiles and works as intended on the monitors I was able to test.
Review needed obviously, otherwise ready imo.

@vaxerski vaxerski merged commit abee2da into hyprwm:main Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants