Apply profile
apply_profileApply a saved profile to replace every Space's names, colours, notes and automations; the current active set is saved first for switching back.
Instructions
Switch to one of the user's saved profiles, replacing the names, colours, notes and automations of every Space with the profile's. If a profile was active, Spacepal first saves the current set under it, so the user can switch back. If none was active, the current names are not saved anywhere and are lost, so ask the user to save them as a profile first. Windows and desktops are not changed. Unlike apply_template, which uses built-in starter names, this uses the user's own saved sets. Get valid names from list_profiles; fails with the list of names if the profile does not exist. Ask the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Profile name from list_profiles. Matching ignores case. |