Skip to content

Workspace commands

Source version: main.

Virtual workspace commands. All commands act on the running Rift instance.

Switch to next workspace.

Synopsis
rift-cli execute workspace next [SKIP_EMPTY]

Arguments

[SKIP_EMPTY]
Accepted values: true, false.

Switch to previous workspace.

Synopsis
rift-cli execute workspace prev [SKIP_EMPTY]

Arguments

[SKIP_EMPTY]
Accepted values: true, false.

Move current window to workspace.

Synopsis
rift-cli execute workspace move-window [OPTIONS] <WORKSPACE_ID> [WINDOW_ID]

Arguments

Options

--follow
Switch to the destination workspace after moving the window.

Create a new workspace.

Synopsis
rift-cli execute workspace create

Switch to the last workspace.

Synopsis
rift-cli execute workspace last

Set layout mode for a workspace (or active workspace when omitted).

Synopsis
rift-cli execute workspace set-layout [OPTIONS] <MODE>

Arguments

<MODE>
Layout mode: traditional, bsp, stack, master_stack, scrolling, floating.

Options

--workspace-id <WORKSPACE_ID>
Workspace index (0-based). Defaults to active workspace if omitted.