hypridle: turn screen off after 630s
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-11-23 19:35:50 -05:00
parent e499eb159f
commit ca52a66a2d

View file

@ -42,8 +42,8 @@ in {
} }
++ lib.optional ++ lib.optional
(!cfg.desktop.autoSuspend) { (!cfg.desktop.autoSuspend) {
timeout = 600; timeout = 630;
on-timeout = "hyprlock"; on-timeout = "hyprctl dispatch dpms off";
} }
++ lib.optional (!cfg.desktop.autoSuspend && cfg.desktop.hyprland.enable) ++ lib.optional (!cfg.desktop.autoSuspend && cfg.desktop.hyprland.enable)
{ {