From 676bcbece80665e265174dd9cd5d4a5a9d76faa3 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Wed, 21 Feb 2024 14:34:42 +0100 Subject: [PATCH] sway: don't lock as early --- modules/desktop/sway.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 033460e..8a58bf5 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -26,7 +26,7 @@ }; "type:pointer" = { accel_profile = "flat"; - pointer_accel = "0.4"; # pointer SPEED, not acceleration + pointer_accel = "0.1"; # pointer SPEED, not acceleration }; }; output = { @@ -242,8 +242,8 @@ { event = "before-sleep"; command = lock; } ]; timeouts = [ - { timeout = 900; command = outputOff; resumeCommand = outputOn; } - { timeout = 3600; command = suspend; } + { timeout = 60 * 20; command = outputOff; resumeCommand = outputOn; } + { timeout = 60 * 60 * 3; command = suspend; } ]; }; };