Skip to content
Core Features

Window Management

Raycast lets you resize, organize, and move your focused window with ease—entirely from the keyboard.

Commands

Give your workspace a refresh and reorganize windows instantly:

  • Toggle Fullscreen (macOS only): Toggles the focused window to fullscreen.
  • Maximize: Expands the focused window to fill the whole screen.
  • Maximize Height: Maximizes the window’s height.
  • Maximize Width: Maximizes the window’s width.
  • Left/Right/Bottom/Top Half: Moves the focused window to occupy half of the screen in any direction—perfect for comparing two documents.
  • Center: Centers the focused window on the screen, maintaining its size.
  • Move Up/Down/Left/Right: Moves the focused window to any screen edge.
  • Restore: Restores the window to its previous size and position.
  • Reasonable Size: Resizes the window to 60% of the screen (up to 1025x900px).
  • Move to Previous/Next Display: For multi-monitor setups, quickly move windows between screens.
  • Move to Previous/Next Space (macOS only): Move windows between different macOS Spaces.
  • First, First Two, Center, Last Two, Last Third: Resize and place the window to occupy a third of the screen.
  • First, Second, Third, Last Fourth: Move the window to one-fourth of the screen.
  • Top Left/Top Right, Bottom Left/Bottom Right Quarter: Position the window in any quarter of the screen.
  • Top Left/Top Center/Top Right Sixth: Align and size the window into a sixth at the top of the screen.
  • Bottom Left/Center/Right Sixth: Align and size the window into a sixth at the bottom of the screen.
  • Open Desktop 1…9 (Windows only): Opens a new or switches to an existing virtual desktop by number.
  • Close Desktop 1...9 (Windows only): Closes a specified desktop.
  • Close Desktop Active (Windows only): Closes the current virtual desktop.
  • Rename Desktop 1…9 (Windows only): Label a specific desktop for easy reference.
  • Rename Desktop Active (Windows only): Label your current desktop.
  • Move to Desktop 1…9 (Windows only): Move your active window to a specified virtual desktop.

Supercharge your routine—assign hotkeys to your most-used window management commands. For example, set a hotkey for Left Half to quickly position and resize the focused window.

Tailor your workspace:

  • Adjust the gap between windows, or between windows and the edge of your desktop.
  • Set Left Half and Right Half commands to cycle through different window sizes or even move between screens.
  • Respect Stage Manager: Enable this option to ensure window management commands leave space for Stage Manager, letting you see your other open apps.
  • Presets: Instantly apply hotkeys from other popular window management apps.
  • System Spaces Shortcuts: Override macOS’s system keyboard shortcuts to control Raycast Window Management instead.
  • Auto Close Empty Desktops: Virtual desktops are closed automatically when nothing is on them.

Note: The Window Management extension needs Accessibility permissions. The first time you use a command, Raycast will prompt you to enable this in your Security & Privacy settings.

Custom Commands

Set up personalized window commands by customizing window size, pinned position, and offsets with Create Command—using absolute values (points) or percentages (relative to display size).

Go beyond single-window commands. With Create Layout, set up multiple app windows on any display and optionally specify a file or link for each app to open.

Custom commands support Deeplinks, which can be used outside Raycast. Create links with absolute or relative window values, for example:

raycast://customWindowManagementCommand?&name=MyCommand&position=center&absoluteWidth=500.0&relativeHeight=0.5&absoluteXOffset=0.0&absoluteYOffset=0.0
ArgumentDescriptionRequired
nameCommand name. If a matching custom single-window command is found, other arguments are ignored. No name means a temporary command will be created.No
positionPin window to this position. If omitted (with a temporary command), defaults to top left.No
absoluteWidthWidth in points.No
relativeWidthWidth as a % of the screen width. Ignored if absolute width is set.No
absoluteHeightHeight in points.No
relativeHeightHeight as a % of the screen height. Ignored if absolute height is set.No
absoluteXOffsetHorizontal offset in points.No
relativeXOffsetHorizontal offset as a % of the screen width. Ignored if absolute x offset is set.No
absoluteYOffsetVertical offset in points.No
relativeYOffsetVertical offset as a % of the screen height. Ignored if absolute y offset is set.No

To create a one-time Deeplink, omit the name—a temporary command will be generated to position/resize the window on the fly.

For Window Layout Deeplinks, only the name argument is supported, so only existing window layouts can be used.

  • Custom commands currently do not support window gaps.
  • With Stage Manager enabled, using Window Layout will only show the top window; as a workaround, group the apps (hold ⇧) before applying the layout, to keep all windows visible.