From b7d788fe10694a810282004cd4f9471948f42d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Violet=20Truchse=C3=9F?= Date: Mon, 11 Mar 2024 12:07:47 +0100 Subject: [PATCH] tewaked wayland conf --- home-wl.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/home-wl.nix b/home-wl.nix index 90c9350..4afe450 100644 --- a/home-wl.nix +++ b/home-wl.nix @@ -83,11 +83,20 @@ shadows enable default_dim_inactive 0.1 dim_inactive_colors.unfocused #fc28c3 + + exec swayidle -w \ + timeout 300 'swaylock -f -c ef5ffc' \ + timeout 600 'swaymsg output * dpms off' \ + resume 'swaymsg putput * dpms on' \ + before-sleep 'swaylock -f -c ef5ffc' + + exec keepassxc + include ~/.config/sway/device-conf ''; # Let Home Manager install and manage itself. services.swayidle = { - enable = true; + enable = false; events = [ { event = "before-sleep";