diff --git a/home/fuji/home.nix b/home/fuji/home.nix index 764fda7..7d893d6 100644 --- a/home/fuji/home.nix +++ b/home/fuji/home.nix @@ -286,22 +286,13 @@ in */ { enable = true; - events = [ - { - event = "before-sleep"; - command = "${locker}/bin/swaylock_fancy"; - } - { - event = "lock"; - command = "${locker}/bin/swaylock_fancy"; - } + events = { + before-sleep = "${locker}/bin/swaylock_fancy"; + lock = "${locker}/bin/swaylock_fancy"; /* - { - event = "after-resume"; - command = "${refresh_i3status}/bin/refresh_i3status"; - } + after-resume = "${refresh_i3status}/bin/refresh_i3status"; */ - ]; + }; timeouts = [ { timeout = 15 * 60;