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 gamma control (but better) #16

Merged
merged 3 commits into from
Jan 31, 2025
Merged

Add gamma control (but better) #16

merged 3 commits into from
Jan 31, 2025

Conversation

aaronjamt
Copy link
Contributor

This PR adds the ability for Hyprsunset to decrease display brightness by reducing all 3 color channels. This is useful for monitors that may not have software adjustable brightness control, or for reducing the display brightness below the monitor's minimum.

I realized there was a cleaner way to accomplish this so I'm making a new PR and closing the old one. Disregard #15.

[closes #6]

@aaronjamt aaronjamt mentioned this pull request Jan 30, 2025
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, can you just clang-format it

src/main.cpp Outdated Show resolved Hide resolved
@vaxerski vaxerski merged commit 4e19bbe into hyprwm:main Jan 31, 2025
1 check passed
@aaronjamt aaronjamt deleted the patch-1 branch February 2, 2025 05:20
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.

[Feature] Add setting for brightness
2 participants