From 454b08fd4dfe64741d0605968ad397a1ec8c63a2 Mon Sep 17 00:00:00 2001 From: Jack Mechem Date: Tue, 3 Mar 2026 12:28:55 -0800 Subject: [PATCH] Fix Zoom --- modules/home-manager/hyprland-desktop.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/hyprland-desktop.nix b/modules/home-manager/hyprland-desktop.nix index 784732f..33ac838 100644 --- a/modules/home-manager/hyprland-desktop.nix +++ b/modules/home-manager/hyprland-desktop.nix @@ -56,7 +56,7 @@ input = { kb_layout = "us"; follow_mouse = 1; - mouse_refocus = false; + mouse_refocus = true; touchpad = { natural_scroll = "no"; }; @@ -75,6 +75,12 @@ allow_tearing = false; }; + # --- Fix Zoom --- + windowrule = [ + "match:class ^(zoom)$, no_follow_mouse 1" + "match:class ^(zoom)$, suppress_event maximize" + ]; + # --- Decoration --- decoration = { rounding = 12;