summaryrefslogtreecommitdiff
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
commit105082d016b239378d95b6dbe55fd066a6c5f803 (patch)
tree331cdba61b800daa22161c3f425dbc12fcb9eefa
parent044b22671aae3b63e6c9cd7055996c3a97310502 (diff)
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