Layout commands
Layout commands. All commands act on the running Rift instance.
Generated from rift-cli at v0.7.0.
ascend
Section titled “ascend”Move selection up the tree.
rift-cli execute layout ascend
descend
Section titled “descend”Move selection down the tree.
rift-cli execute layout descend
move-node
Section titled “move-node”Move the selected node in a direction.
rift-cli execute layout move-node <DIRECTION>
Arguments
join-window
Section titled “join-window”Join the selected window with neighbor in a direction.
rift-cli execute layout join-window <DIRECTION>
Arguments
consume-or-expel-window
Section titled “consume-or-expel-window”Join with a neighbor, or unjoin when the selected window is already joined.
rift-cli execute layout consume-or-expel-window <DIRECTION>
Arguments
toggle-stack
Section titled “toggle-stack”Toggle stacked state for the selected container.
rift-cli execute layout toggle-stack
toggle-orientation
Section titled “toggle-orientation”Global orientation toggle that works consistently across layout modes (and between splits/stacks).
rift-cli execute layout toggle-orientation
unjoin
Section titled “unjoin”Unjoin previously joined windows.
rift-cli execute layout unjoin
toggle-focus-float
Section titled “toggle-focus-float”Toggle floating on the focused selection (tree focus).
rift-cli execute layout toggle-focus-float
adjust-master-ratio
Section titled “adjust-master-ratio”Adjust master ratio by a delta (master/stack layout only).
rift-cli execute layout adjust-master-ratio <DELTA>
Arguments
<DELTA>
adjust-master-count
Section titled “adjust-master-count”Adjust master count by a delta (master/stack layout only).
rift-cli execute layout adjust-master-count <DELTA>
Arguments
<DELTA>
promote-to-master
Section titled “promote-to-master”Promote the selected window into the master area (master/stack layout only).
rift-cli execute layout promote-to-master
swap-master-stack
Section titled “swap-master-stack”Swap the first master with the first stack window (master/stack layout only).
rift-cli execute layout swap-master-stack
swap-windows
Section titled “swap-windows”Swap two windows by window id (WindowId { pid: ..., idx: ... }).
rift-cli execute layout swap-windows <A> <B>
Arguments
<A><B>
scroll-strip
Section titled “scroll-strip”Scroll the strip by a normalized delta (scrolling layout only).
rift-cli execute layout scroll-strip <DELTA>
Arguments
<DELTA>
snap-strip
Section titled “snap-strip”Snap the strip to the nearest column boundary (scrolling layout only).
rift-cli execute layout snap-strip
switch-preset-column-width
Section titled “switch-preset-column-width”Switch to the next preset column width (scrolling layout only).
rift-cli execute layout switch-preset-column-width [OPTIONS]
Options
--backwards
center-selection
Section titled “center-selection”Toggle centering of the selected column in scrolling layout. If invoked again on the same selection, centering is removed.
rift-cli execute layout center-selection