Closed Aqa-Ib closed 6 months ago
Can already be done from Hyprland.
How ?
bind = $mod, D, dpms, toggle
. https://wiki.hyprland.org/Configuring/Dispatchers
Thanks for your reply. Although, dpms toggle
seems broken on hyprland-git and v.0.39.1. Does it work for you?
Right. It seems to turn off the displays but not turn them back on.
I managed to make it work with two bindings: one for dpms off
and another for dpms on
. I will fill a bug on Hyprland about dpms toggle
though. Thank you for the hint, have a nice one !
Edit: the bug was already filled: https://github.com/hyprwm/Hyprland/issues/2845
A listener to a key bind would allow us to power off our screens using a key bind, and power them on again with a key press.