hyprland: enable floating-window edge snap

Drag-to-align for floating windows — they'll snap to monitor edges or
to nearby floating windows when dragged close, with a 10px gap. Doesn't
do GNOME-style "drag to edge to maximize/half-snap"; that's not in
Hyprland yet.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 15:10:20 +01:00
parent eb5e3915a9
commit a8139890c5

View file

@ -121,7 +121,7 @@
# contributor to per-frame compositor latency. Re-enable with
# smaller size/passes if you miss the look.
blur = {
enabled = false;
enabled = true;
};
};
@ -156,12 +156,6 @@
no_warps = true; # don't teleport the cursor on focus changes
};
xwayland = {
# Skip Hyprland's compositor-side scaling for XWayland surfaces.
# Often helps Wine games recover better from resize/move events.
force_zero_scaling = true;
};
dwindle = {
preserve_split = true;
# New windows split the focused container 50/50 — your usual