From bb9383fb0cabc20f0a15f607ea38913813e7e2ea Mon Sep 17 00:00:00 2001 From: joygnu Date: Sat, 10 Aug 2024 20:49:27 +0200 Subject: [PATCH] hypridle suspend --- home/hypridle/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/hypridle/default.nix b/home/hypridle/default.nix index 7d676bc..39e9a64 100644 --- a/home/hypridle/default.nix +++ b/home/hypridle/default.nix @@ -14,6 +14,11 @@ on-timeout = "hyprctl dispatch dpms off"; on-resume = "hyprctl dispatch dpms on"; } + { + timeout = 600; + on-timeout = "systemctl suspend"; + on-resume = "hyprctl dispatch dpms on"; + } ]; }; };