Files
komorebi/docs/macos/cli/initial-workspace-rule.md
T
LGUG2Z 1849547153 docs(macos): say what Class is on macOS in the schema and the komorebic help
The schema and the help of komorebic described the Class identifier as 'Role or
subrole'. It is the accessibility subrole of the window, or its role when it has no
subrole, and a rule matches either.
2026-11-06 14:49:36 -08:00

660 B

initial-workspace-rule

Add a rule to associate an application with a workspace on first show

Usage: komorebic initial-workspace-rule <IDENTIFIER> <ID> <MONITOR> <WORKSPACE>

Arguments:
  <IDENTIFIER>
          Possible values:
          - exe:   Executable name
          - class: Accessibility subrole or role, such as AXStandardWindow
          - title: Window title
          - path:  Executable path

  <ID>
          Identifier as a string

  <MONITOR>
          Monitor index (zero-indexed)

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

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