From 93a4599fcc53b21ab19816610c1723d3b93ed7ae Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 6 Oct 2023 14:26:16 +0200 Subject: [PATCH] sway: Add lock even to swayidle config --- home-manager/modules/sway/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/home-manager/modules/sway/default.nix b/home-manager/modules/sway/default.nix index 1ea9e15..0078394 100644 --- a/home-manager/modules/sway/default.nix +++ b/home-manager/modules/sway/default.nix @@ -304,6 +304,14 @@ in services = { swayidle = { enable = true; + events = { + lock = [ + { + name = "lock"; + command = "lock"; + } + ]; + }; timeouts = [ { timeout = 900;