From 02caf6655d919013412a9eee6484ca4232810582 Mon Sep 17 00:00:00 2001 From: satr14 Date: Tue, 7 Jul 2026 13:47:22 +0800 Subject: [PATCH] input tweak --- modules/home/rice/compositor.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/home/rice/compositor.nix b/modules/home/rice/compositor.nix index 04e0eb0..0b59e39 100644 --- a/modules/home/rice/compositor.nix +++ b/modules/home/rice/compositor.nix @@ -12,6 +12,13 @@ position = { x=0; y=0; }; scale = 1.0; }; + input = { + warp-mouse-to-focus.enable = true; + focus-follows-mouse = { + max-scroll-amount = "5%"; + enable = true; + }; + }; environment = { XCURSOR_SIZE = "24";