Skip to content
Core Features

Window Management

Raycast lets you resize, organize, and move the focused window from your keyboard.

Give your workspace a refresh and reorganize windows instantly:

  • Toggle Fullscreen: 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.
  • Move Window: Moves the focused window to an exact position you type, such as 100,100.
  • Restore: Restores the window to its previous size and position.
  • Reasonable Size: Resizes the window to 60% of the screen (up to 1025x900px).
  • Resize Window: Resizes the focused window to the exact Width and Height you type.
  • Minimize on This Display: Minimizes all windows on the display where Raycast is open.
  • Move to Previous/Next Display: For multi-monitor setups, quickly move windows between screens.
  • Move to Previous/Next Space: 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: Opens a new or switches to an existing virtual desktop by number.
  • Close Desktop 1...9: Closes a specified desktop.
  • Close Desktop Active: Closes the current virtual desktop.
  • Rename Desktop 1…9: Label a specific desktop for easy reference.
  • Rename Desktop Active: Label your current desktop.
  • Move to Desktop 1…9: Move your active window to a specified virtual desktop.
  • Focus Next/Previous App Window: Cycle through the windows of the app you're using. Press repeatedly to reach each one.

Assign a Hotkey to the window management commands you use often. For example, set a Hotkey for Left Half to position and resize the focused window.

Resize Window and Move Window take the numbers you type instead of a share of the screen, which is what you want when a window has to be a specific resolution for a recording, a screenshot, or a demo.

Resize Window asks for a Width and a Height, such as 1920 and 1080. Move Window takes a position such as 100,100.

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.

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).

The Offset X and Y fields accept negative percentages, so you can shift a window left or up. A relative offset can be anywhere from −100% to +100% of the display's width or height. Sizes still can't be negative.

Go beyond single-window commands. With Create Layout, arrange multiple app windows on any display — up to eight windows per display — each with its own size, offset, and position.

Every entry in a layout can also tell its app what to open, using the Argument dropdown:

  • Quicklink: One of your Quicklinks.
  • File or Folder: A path on your machine.
  • URL: A link for the app to open.
  • Command Line Arguments: The arguments Raycast passes to the app when it opens it.

The Other Windows option decides what happens to windows the layout doesn't place: None leaves them alone, Minimize Others minimizes them, and Close Others closes them. Closing goes through the app itself, so any unsaved-changes prompt still appears. The setting syncs and exports with the layout. The entries themselves live in the Windows panel on the right of the editor.

When a layout places windows into adjacent tiled regions — two halves side by side, for example — Raycast arranges them the way Windows' own snapping does, so their shared edge gets a divider you can drag to resize both windows at once.

Already have everything where you want it? Save Current Layout turns the current arrangement into a layout: Raycast reads the windows on screen and opens the layout editor with a draft already filled in, so you only adjust what you want to change before saving.

To pick up the current arrangement in a layout you're already editing, choose Add Visible Windows from the menu in the layout editor.

Duplicate Command uses a built-in command's layout as the starting point for a custom one. Find it in the Action Panel in Root Search, or in on the command's row in Settings → Window Management.

Nothing is saved right away: Raycast opens the Create Command form pre-filled with the built-in's position, size, and offset. Your own custom commands and layouts duplicate the same way. Only built-ins with a fixed layout can be duplicated, so commands that depend on the current window or your displays have no Duplicate action.

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 Raycast creates a temporary command.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—Raycast generates a temporary command that positions or resizes 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 don't support window gaps.
  • With Stage Manager enabled, using Window Layout only shows the top window; as a workaround, group the apps (hold Shift) before applying the layout, to keep all windows visible.

Window Management needs Accessibility access to move and resize windows. Grant it in System Settings → Privacy & Security → Accessibility (renamed Device Control and Data Access on macOS 27). The first time you use a command, Raycast prompts you to enable it if the permission is missing.

Window Management lets you resize and position windows with commands and hotkeys. Most issues come down to macOS permissions or hotkeys not firing. Here are the common ones.