hyprland: actually enable the floating-window snap (the previous commit

ended up just toggling blur back on)

Adds the general.snap block — alignment snap to screen edges and other
floating windows with a 10px gap.

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

View file

@ -113,6 +113,15 @@
border_size = 2;
layout = "dwindle";
resize_on_border = true;
# Snap floating windows when dragged near each other or screen
# edges. Alignment-snap only — not Aero-style "drag to top to
# maximize".
snap = {
enabled = true;
window_gap = 10;
monitor_gap = 10;
};
};
decoration = {