Files
komorebi/docs/cli/workspace-layout.md
T
LGUG2Z 2cd5884f21 docs(schema): regenerate schemas, nix options and cli docs
Bring the generated files back in line with the code on master.

- schema.json: add monocle_focus_behaviour and the MonocleFocusBehaviour
  definition. schema.asc.json and schema.bar.json were already current.
- nix/komorebi-options.nix: add the monocle_focus_behaviour option.
  nix/komorebi-bar-options.nix was already current.
- docs/cli: add the pages for layout-ratios, monocle-focus-behaviour,
  permissions and toggle-monocle-focus-behaviour. Update 19 pages for
  the --bar flag of enable-autostart, the per-value help of enum
  arguments and reworded help text. Re-wrap 4 pages whose text did not
  change.

How the files were made:

- schemars-nixgen writes the properties of an object in a different
  order on every run, so the files are not regenerated whole. Only the
  new option is added; the rest of a full run was checked to be the same
  lines in another order.
- docgen on master writes a bare fence with no heading and "Usage: name",
  where the pages in docs/cli have a "# name" heading and "Usage:
  komorebic name". The pages keep the format they have.
- Pages are wrapped at 100 columns, the width docgen uses when it does
  not write to a terminal, instead of the width of the terminal the old
  pages were made in.
2026-10-29 16:38:24 -07:00

917 B

workspace-layout

Set the layout for the specified workspace

Usage: komorebic workspace-layout <MONITOR> <WORKSPACE> <VALUE>

Arguments:
  <MONITOR>
          Monitor index (zero-indexed)

  <WORKSPACE>
          Workspace index on the specified monitor (zero-indexed)

  <VALUE>
          Possible values:
          - bsp:                       BSP Layout
          - columns:                   Columns Layout
          - rows:                      Rows Layout
          - vertical-stack:            Vertical Stack Layout
          - horizontal-stack:          Horizontal Stack Layout
          - ultrawide-vertical-stack:  Ultrawide Vertical Stack Layout
          - grid:                      Grid Layout
          - right-main-vertical-stack: Right Main Vertical Stack Layout
          - scrolling:                 Scrolling Layout

Options:
  -h, --help
          Print help (see a summary with '-h')