Skip to content

Workspace commands

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

Generated from rift-cli at v0.7.0.

Switch to next workspace.

rift-cli execute workspace next [SKIP_EMPTY]

Arguments

[SKIP_EMPTY]
Values
true, false

Switch to previous workspace.

rift-cli execute workspace prev [SKIP_EMPTY]

Arguments

[SKIP_EMPTY]
Values
true, false

Switch to specific workspace.

rift-cli execute workspace switch <WORKSPACE_ID>

Arguments

Move current window to workspace.

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.

rift-cli execute workspace create

Switch to the last workspace.

rift-cli execute workspace last

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

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.