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
commit6f3cdfd19e9beeba0017e3dfaa319cf526e26e0d (patch)
tree2e11725ecd5b38a402bb768e9d19efc1046695e6
parent1d47531eb543b541c88bd051cbae0d00ce880202 (diff)
downloadarchsetup-6f3cdfd19e9beeba0017e3dfaa319cf526e26e0d.tar.gz
archsetup-6f3cdfd19e9beeba0017e3dfaa319cf526e26e0d.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
}