aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-06 10:46:40 -0600
committerCraig Jennings <c@cjennings.net>2026-02-06 10:46:40 -0600
commitb8f816efc11a8fc47f7e17a1837a6994c1140e78 (patch)
treebf165d8b9a30b186a784c393238604de4f5c467f
parent3e41ecd5e2d78f79c3822dad45674f32380aae6d (diff)
downloadarchsetup-b8f816efc11a8fc47f7e17a1837a6994c1140e78.tar.gz
archsetup-b8f816efc11a8fc47f7e17a1837a6994c1140e78.zip
fix(hyprland): fix new window focus with no_warps enabled
follow_mouse=2 (loose), float_switch_override_focus=0, and mouse_refocus=false prevent focus snap-back when cursor:no_warps is true.
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index d79738d..4f7096e 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -106,7 +106,9 @@ cursor {
input {
kb_layout = us
kb_options = ctrl:nocaps
- follow_mouse = 0
+ follow_mouse = 2
+ float_switch_override_focus = 0
+ mouse_refocus = false
touchpad {
natural_scroll = true
}