diff --git a/home/hypridle/default.nix b/home/hypridle/default.nix index 87b9e43..7d11563 100644 --- a/home/hypridle/default.nix +++ b/home/hypridle/default.nix @@ -3,14 +3,9 @@ services.hypridle = { enable = true; settings = { - general = { - after_sleep_cmd = "hyprctl dispatch dpms on"; - ignore_dbus_inhibit = false; - }; - listener = [ { - timeout = 1200; + timeout = 300; on-timeout = "hyprctl dispatch dpms off"; on-resume = "hyprctl dispatch dpms on"; } diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 2276fde..13660cb 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -10,6 +10,7 @@ slurp hyprpicker swappy + hypridle ]; services.cliphist.enable = true; @@ -42,6 +43,7 @@ exec-once = [ "ags" + "hypridle" ]; windowrule = [