FedeDP / Clightd

A linux bus interface that lets you change screen brightness, compute captured webcam frames brightness and change screen temperature.
GNU General Public License v3.0
82 stars 10 forks source link

[FEATURE REQ] Wlroots DPMS support #99

Closed fufexan closed 1 year ago

fufexan commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, DPMS does not work with wlroots compositors, even if they implement https://wayland.app/protocols/wlr-output-power-management-unstable-v1. It would be nice if this was implemented along with KWin DPMS.

Describe the solution you'd like I don't know how easy/hard it would be to implement, but the link above explains how the protocol works. I assume it's similar to the gamma control protocol.

Describe alternatives you've considered Currently, wlroots compositors users have to resort to swayidle calling swaymsg dpms * <on/off> or hyprctl dispatch dpms <on/off> for DPMS control.

FedeDP commented 1 year ago

Hi ! Thanks for this feature request! I didn't know the new protocol existed, thank you! I'll try to find the time to implement this asap!

This should be tracked in Clightd btw, will take care of transferring the issue! :)

FedeDP commented 1 year ago

100 should fix this :)

Care to give it a try?

FedeDP commented 1 year ago

This is fixed in latest master, as i was able to test it! :)

fufexan commented 1 year ago

Thank you! I wanted to try it but it was a bit late here.

FedeDP commented 1 year ago

Let me know if you face any issue! Please note that i still need to update wiki pages docs :)