From fd9b0ecef4142a62b45404700ba1cff488f84a73 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 23 May 2024 13:31:11 +0200 Subject: refactor(modules/home): Setup as "normal" NixOS module --- modules/home/conf/swayidle/config | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 modules/home/conf/swayidle/config (limited to 'modules/home/conf/swayidle/config') diff --git a/modules/home/conf/swayidle/config b/modules/home/conf/swayidle/config new file mode 100644 index 00000000..a48f670b --- /dev/null +++ b/modules/home/conf/swayidle/config @@ -0,0 +1,5 @@ +timeout 180 'swaylock -fF' + +timeout 360 'systemctl suspend-then-hibernate' + +before-sleep 'swaylock -f' -- cgit 1.4.1