diff --git a/bar.nix b/bar.nix index efb7c17..17b579d 100644 --- a/bar.nix +++ b/bar.nix @@ -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" = { diff --git a/hyprland.nix b/hyprland.nix index 3c5e528..22ad438 100644 --- a/hyprland.nix +++ b/hyprland.nix @@ -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 '';