From 690bb2306452b73fb7f7bf2f33bcde54ac38fcec Mon Sep 17 00:00:00 2001 From: joy 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"; + } ]; }; };