Repository navigation
Cubicle 0.3.0-beta.1
Pre-release
Pre-release
Window snapping
Cubicle can now move and resize windows the way Rectangle does: left, right, top and bottom half, the four quarters,
Maximize (fills the screen apart from the menu bar and Dock), Center, and Restore (back to where the window was before
you first snapped it).
- Shortcuts. Rectangle's keys: ⌃⌥ + arrows for halves, ⌃⌥U / I / J / K for quarters, ⌃⌥↩ Maximize, ⌃⌥C Center,
⌃⌥⌫ Restore. They're off by default so they don't take over keys you use elsewhere. Turn them all on with one switch
in Settings → Keyboard Shortcuts or in the welcome walkthrough, and change any of them there. - The window menu. ⌃⌥⌘-click a window: below the Spaces there's now a Snap section for that window.
- Command line.
cubicle snap left-halfsnaps the focused window.--app Safaripicks another app's front
window,--window <id>a particular window, and--previousthe app you were in before.cubicle windowslists
the windows on this Space and their ids (--jsontoo), andcubicle actionslists the snap names. - Alfred. Type
wand a command, likew left,w top rightorw max. It snaps the window you were in before
Alfred opened. Re-import the workflow to get it. - Gap. Settings → General → Snap gap (or
cubicle gap 8) leaves a gap between snapped windows and around the
screen edges. It's 0 by default.
Pressing a snap again does nothing. Windows that won't resize to fit are lined up against the screen edges instead.
Full-screen and minimized windows are left alone.