From ec72e8bea58c1b9fbe3fc48b7e93c2b2900eb525 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Wed, 21 Sep 2022 17:15:26 -0700 Subject: [PATCH] Fixed swayidle config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forgot to enable it (-‸ლ) --- users/alejandro/sway/sway.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/users/alejandro/sway/sway.nix b/users/alejandro/sway/sway.nix index 94c891e..b103435 100644 --- a/users/alejandro/sway/sway.nix +++ b/users/alejandro/sway/sway.nix @@ -20,6 +20,7 @@ services.playerctld.enable = true; services.swayidle = { + enable = true; timeouts = [ { timeout = 300; @@ -27,8 +28,8 @@ } { timeout = 600; - command = "${pkgs.swaymsg}/bin/swaymsg 'ouput * dpms off'"; - resumeCommand = "${pkgs.swaymsg}/bin/swaymsg 'output * dpms on'"; + command = "${pkgs.sway}/bin/swaymsg 'ouput * dpms off'"; + resumeCommand = "${pkgs.sway}/bin/swaymsg 'output * dpms on'"; } ]; events = [