aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/hyprland
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
commit4bbf7ea4599b8e5c9fe080dccf476ae8c2fc805b (patch)
treebf165d8b9a30b186a784c393238604de4f5c467f /dotfiles/hyprland
parent28e825141382172dd2ce4912e1afa7ea2ef5682f (diff)
downloadarchsetup-4bbf7ea4599b8e5c9fe080dccf476ae8c2fc805b.tar.gz
archsetup-4bbf7ea4599b8e5c9fe080dccf476ae8c2fc805b.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.
Diffstat (limited to 'dotfiles/hyprland')
-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
}