From 579f3daebab310c03b6bc4037fa225114f5e7f3b Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 19 Oct 2023 13:54:03 +0200 Subject: fix(u/sils/swayidle): turn screen off before lock --- users/sils/swayidle/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/users/sils/swayidle/default.nix b/users/sils/swayidle/default.nix index f901a58..beddfd5 100644 --- a/users/sils/swayidle/default.nix +++ b/users/sils/swayidle/default.nix @@ -14,14 +14,14 @@ ]; timeouts = [ { - timeout = 120; + timeout = 60; command = "${pkgs.swaylock}/bin/swaylock -f"; } - #{ - # timeout = 140; - # command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms off"; - # resumeCommand = "${pkgs.hyprland}/bin/hyprctl dispatch dpms on"; - #} + { + timeout = 40; + command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms off"; + resumeCommand = "${pkgs.hyprland}/bin/hyprctl dispatch dpms on"; + } ]; systemdTarget = "hyprland-session.target"; }; -- cgit 1.4.1