Skip to content

Other actions

Source version: main.

These commands work with Rift’s complete runtime or saved layout state rather than one command group.

Switch to a configured binding mode (use default to reset).

Synopsis
rift-cli execute binding-mode <MODE>

Arguments

Save the master file and exit Rift.

Synopsis
rift-cli execute save-and-exit

Save Rift's current layout state without exiting.

Synopsis
rift-cli execute save-layout <PATH|--master>

Arguments

[PATH]
Layout file path.

Options

--master
Use Rift's master file (~/.rift/layout.ron).

Restore a layout file to the current workspace or macOS Space.

Synopsis
rift-cli execute load-layout [OPTIONS] <PATH|--master>

Arguments

[PATH]
Layout file path.

Options

--master
Use Rift's master file (~/.rift/layout.ron).
--scope <SCOPE>
Restore one workspace or all saved workspaces for the current macOS Space. Default: workspace. Accepted values: workspace, space.

Print layout tree debugging output in the running rift instance.

Synopsis
rift-cli execute debug

Serialize and print runtime state.

Synopsis
rift-cli execute serialize

this command is deprecated, use rift-cli execute space toggle-activated.

Synopsis
rift-cli execute toggle-space-activated

Show timing metrics.

Synopsis
rift-cli execute show-timing