summaryrefslogtreecommitdiff
path: root/home/wayland
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-12-05 09:38:13 +0530
committersinan@sinanmohd.com <sinan@sinanmohd.com>2025-12-06 13:40:30 +0530
commit3dc8bee3cb3a472dcf8d3990a6623327ac75d985 (patch)
tree25146bea88b88f95ab1b0c13b2c7f7e0456ddba4 /home/wayland
parent7cf4cc6ae6b68cb206a65221b4ac9b4a3ea2e583 (diff)
feat(cez/specialisation/heater): init
Diffstat (limited to 'home/wayland')
-rw-r--r--home/wayland/modules/sway/swayidle.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/home/wayland/modules/sway/swayidle.nix b/home/wayland/modules/sway/swayidle.nix
index d9ff473..b7d7d26 100644
--- a/home/wayland/modules/sway/swayidle.nix
+++ b/home/wayland/modules/sway/swayidle.nix
@@ -57,13 +57,7 @@ in
services.swayidle = {
enable = true;
systemdTarget = "sway-session.target";
-
- events = [
- {
- event = "before-sleep";
- command = swaylock;
- }
- ];
+ events."before-sleep" = swaylock;
timeouts = [
{