Support OLED brightness control via gamma
Feature Description
I have an OLED laptop, so the traditional /sys/class/backlight/... does not work for changing brightness. Instead I use the hyprsunset utility, which is part of the Hyprland ecosystem. It would be nice for DMS to support automatic gamma changing in place of real brightness for OLED screens. Right now I just replaced these lines in .config/hypr/dms/binds.conf, but there is no DMS widget that pops up to indicate brightness/gamma.
# === Brightness Controls ===
bindel = , XF86MonBrightnessUp, exec, hyprctl hyprsunset gamma +10
bindel = , XF86MonBrightnessDown, exec, hyprctl hyprsunset gamma -10
Not a very important feature, but it would be a nice QOL improvement. Also not sure if this should be implemented compositor by compositor, or with agnostic package to control it.
Thanks for the great work put into DMS.
Use Case
No response
Compositor(s)
All compositors
If Other, please specify
No response
Proposed Solution
No response
Alternatives/Existing Solutions
No response
DMS already has gamma control (via night mode), albeit no option to make t he brightness widgets use gamma instead of backlight classes. So that would be a sensible option