Skip to content

Raycast and window management on a Mac

Raycast has window commands of its own and runs script commands. How it fits with a window manager, and how to drive saved layouts from Raycast.

Guide · Updated 13 October 2026

Raycast is a launcher many Mac users live in. It ships with window management commands of its own (halves, thirds, centre and more), and it can run script commands you add.

Raycast alone

Raycast's window commands move the front window into a position when you ask. That is great for quick one offs. It does not keep a layout over time: new windows still open wherever the app puts them.

Raycast plus ClutterFreeMac

Let ClutterFreeMac keep the layout, and use Raycast to drive it. In Settings, Automation, choose Save to a folder under Script commands, then add that folder to Raycast. Every ClutterFreeMac command and every saved layout becomes something you can type to.

  • Type the name of a saved layout to bring it back.
  • Run any command, such as cycle width or send to the next display, without remembering its keys.

If you use both, turn off Raycast's own window hotkeys that clash with ⌃ ⌥ shortcuts, or rebind either side.

Questions

Can Raycast restore window layouts?

With a window manager that exposes layouts as script commands, yes. ClutterFreeMac can save its layouts and commands as Raycast script commands.