diff options
author | sils <sils@sils.li> | 2023-10-19 13:54:03 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-10-19 13:54:03 +0200 |
commit | 579f3daebab310c03b6bc4037fa225114f5e7f3b (patch) | |
tree | 8b34cd4066173da8c73309add46b2a0d3614acf0 | |
parent | build(flake): update (diff) | |
download | nix-config-579f3daebab310c03b6bc4037fa225114f5e7f3b.tar.gz nix-config-579f3daebab310c03b6bc4037fa225114f5e7f3b.zip |
fix(u/sils/swayidle): turn screen off before lock
Diffstat (limited to '')
-rw-r--r-- | users/sils/swayidle/default.nix | 12 |
1 files 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"; }; |