Skip to content

Display commands

Source version: main.

Display/mouse commands. All commands act on the running Rift instance.

Focus a display by direction, index, or UUID.

Synopsis
rift-cli execute display focus <--direction <DIRECTION>|--index <INDEX>|--uuid <UUID>>

Options

--direction <DIRECTION>
Direction relative to the current display (left, right, up, down).
--index <INDEX>
Display index (0-based).
--uuid <UUID>
Display UUID.

Move the mouse cursor to a display by direction, index, or UUID.

Synopsis
rift-cli execute display move-mouse <--direction <DIRECTION>|--index <INDEX>|--uuid <UUID>>

Options

--direction <DIRECTION>
Direction relative to the current display (left, right, up, down).
--index <INDEX>
Display index (0-based).
--uuid <UUID>
Display UUID.

Move mouse cursor to a display by index (0-based).

Synopsis
rift-cli execute display move-mouse-to-index <INDEX>

Arguments

<INDEX>
Display index (0-based).

Move mouse cursor to a display by UUID.

Synopsis
rift-cli execute display move-mouse-to-uuid <UUID>

Arguments

<UUID>
Display UUID.

Move a window to a display by direction, index, or UUID.

Synopsis
rift-cli execute display move-window [OPTIONS] <--direction <DIRECTION>|--index <INDEX>|--uuid <UUID>>

Options

--direction <DIRECTION>
Direction relative to the current display (left, right, up, down).
--index <INDEX>
Display index (0-based).
--uuid <UUID>
Display UUID.
--window-id <WINDOW_ID>
Optional window id (window idx); defaults to the focused window if omitted.

Move the active workspace to a display by direction, index, or UUID.

Synopsis
rift-cli execute display move-workspace [OPTIONS] <--direction <DIRECTION>|--index <INDEX>|--uuid <UUID>>

Options

--direction <DIRECTION>
Direction relative to the current display (left, right, up, down).
--index <INDEX>
Display index (0-based).
--uuid <UUID>
Display UUID.
--wrap-around
Continue from the opposite edge for directional selectors.