Two-finger trackpad gestures on title bars. No keyboard shortcuts. No configuration. Just swipe.
Place two fingers on any window's title bar and swipe in the direction you want it tiled. Swipey detects the gesture at the system level.
A 30-point dead zone prevents accidental tiles. Once you cross the threshold, Swipey locks in your direction and shows a live preview.
A translucent preview overlay shows where the window will land. Release the gesture and the window snaps into place instantly.
began → accumulate deltas → cross dead zone → lock direction → ended → tile
// Swipey event pipeline — from hardware to tiled window CGEventTap.intercept(scrollWheel) // 1. Capture trackpad scroll → filter isContinuous && phase != 0 // 2. Reject mouse wheel events → TitleBarDetector.hitTest(mouseLocation) // 3. AXUIElement under cursor? → GestureStateMachine.feed(delta, phase) // 4. Accumulate, dead zone, lock → PreviewOverlay.show(targetFrame) // 5. Translucent preview panel → CursorIndicator.show(direction) // 6. Direction badge at cursor → WindowManager.tile(window, position) // 7. AXPosition + AXSize → return nil // 8. Consume the event