Sweets
Configuration

Mouse Bindings

Move and resize windows with MOD + drag, and how tiled drag-reorder works.

Mouse bindings are built in and follow mod_key; they are not configurable yet.

BindingAction
MOD + left dragMove the window under the cursor
MOD + right dragResize the window (nearest corner follows)

Moving windows

Dragging a tiled window moves it freely under the cursor. By default (drag_center_cursor) the window recenters under the cursor the moment you grab it, so it follows balanced under the pointer (Hyprland-style) — grab a window dead-center and it barely moves, grab near a corner and it jumps so the cursor sits at its center. Set drag_center_cursor = false to instead keep the window pinned at the exact point you grabbed.

While the drag is active the window leaves the tiling and the remaining windows reflow to fill the gap, so the layout always stays gap-free — dragging a stack window collapses the stack onto the rest, and dragging the master promotes the top stack window to master in its place.

Drop and reorder

On release the dragged window is inserted into the layout where you dropped it, reordering the master/stack. The insert point follows the slot under the cursor — drop on the left half of the master to become master, on a stack slot's upper or lower half to land above or below it — and the reorder_ratio layout option controls how far you must drag before the placement shifts.

Resizing windows

A floating window resizes freely from the grabbed corner. A tiled window instead drags the split divider under that edge, so the resize stays gap-free: in tile the MOD + right drag moves the master/stack boundary (and the boundary between two stacked windows); in dwindle it moves whichever divider the grabbed edge borders — any window, any depth — with a corner drag moving both at once; in grid a side edge moves the column divider between the window and its neighbor in that row, while a top or bottom edge moves the shared divider between its row and the adjacent row, and a corner drag moves both. See Layout for the matching keyboard resize actions.

Dropping onto another monitor re-homes the window to that monitor's active workspace. A floating window stays wherever you drop it. Applications can also start a move or resize themselves (e.g. dragging a client-side titlebar), which Sweets honors the same way.

On this page