aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-12 12:07:36 -0600
committerCraig Jennings <c@cjennings.net>2026-02-12 12:07:36 -0600
commit994f92c2e50a56d031a8905b603a5d69e180cae9 (patch)
tree62e5e4da8d9ea2ca1b3d8a31615acc9609750532
parent5723068a58c018d1db568ab4cdfc737e8f2a3d39 (diff)
downloadarchsetup-994f92c2e50a56d031a8905b603a5d69e180cae9.tar.gz
archsetup-994f92c2e50a56d031a8905b603a5d69e180cae9.zip
fix(hyprland): fix focus behavior for swaps and new windows
Enable cursor warping on focus change (no_warps=false) so swap-with-master moves cursor to master. Enable float_switch_override_focus so new tiled windows get focus when launched from floating scratchpads.
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index 8572dcf..cd30f81 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -102,7 +102,7 @@ dwindle {
# Input
# ============================================================================
cursor {
- no_warps = true
+ no_warps = false
}
input {
@@ -110,7 +110,7 @@ input {
kb_options = ctrl:nocaps
numlock_by_default = true
follow_mouse = 0
- float_switch_override_focus = 0
+ float_switch_override_focus = 1
mouse_refocus = false
touchpad {
natural_scroll = true