diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index b2f5860..966d8fe 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -607,11 +607,16 @@ in } listener { - timeout = 300 # in seconds + timeout = 150 # in seconds on-timeout = loginctl lock-session } listener { - timeout = 600 # in seconds + timeout = 165 # in seconds + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on + } + listener { + timeout = 7200 # in seconds on-timeout = systemctl suspend } '';