Add a control to turn the screen off (super+0 then d)

This commit is contained in:
ant 2025-02-02 20:13:28 +01:00
parent d6d24a5a45
commit c944602b34
2 changed files with 4 additions and 1 deletions

View file

@ -285,7 +285,7 @@
};
"hyprland/submap" = {
format = "(l)ock, (e)xit, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown";
format = "(l)ock, (d)pms, (e)xit, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown";
};
"custom/nvidia-load" = {

View file

@ -420,6 +420,9 @@
bind = ,l, exec, swaylock
bind = ,l, submap, reset
bind = ,d, exec, sleep .1 && hyprctl dispatch dpms
bind = ,d, submap, reset
bind = ,escape, submap, reset
submap = reset
'';