The DRM platform should be able to adjust gamma and to support things like redshift.
The current plan for KWin is:
- Abstract away X and Wayland differences in platform plugins
- X: use existing gamma changer in KWin's X plugin (via effect?)
- Wayland: Call drmModeCrtcSetGamma from libdrm in the drm plugin
- DBus interface to allow apps/applets to set the gamma or color temperature value (alternative: write own KWin KCMs)