From a6effa39448aebb78085548977035f879abf8fa5 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Sat, 20 Sep 2025 15:30:43 -0700 Subject: [PATCH] [plasma-manager] Add focus-follows-mouse --- home/modules/plasma-manager/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/home/modules/plasma-manager/default.nix b/home/modules/plasma-manager/default.nix index 314c14f..0f1abd0 100644 --- a/home/modules/plasma-manager/default.nix +++ b/home/modules/plasma-manager/default.nix @@ -159,6 +159,14 @@ }; kdeglobals.KDE.LookAndFeelPackage = "org.kde.breezedark.desktop"; + + # Focus follows mouse configuration + kwinrc.Windows = { + FocusPolicy = "FocusFollowsMouse"; + AutoRaise = true; # Set to true if you want windows to auto-raise on focus + AutoRaiseInterval = 750; # Delay in ms before auto-raise (if enabled) + DelayFocusInterval = 0; # Delay in ms before focus follows mouse + }; }; }; }