Remove desktop
remove_desktopClose a desktop to move its windows to another desktop without closing them; confirm with the user first because Spacepal names, notes, and automations are lost.
Instructions
Close a desktop, as with its close button in Mission Control. Its windows move to another desktop and are not closed, but its Spacepal name, note and automation are lost and cannot be restored automatically. Full-screen Spaces cannot be removed this way. Always ask the user before calling this. Fails if the Space does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | Desktop number or name from list_spaces |