mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-14 21:04:04 +01:00
Workspace i is KWin's desktop i, and switching and moving by index came with the workspaces. What a user binds keys to besides is the rest of komorebi's workspace commands: going to the next or the previous workspace (or the next empty one), back to the last one, adding and closing workspaces, showing one index on every monitor, and setting the layout or the tiling of a workspace that need not be in front. They are made of the same two operations, showing a workspace and moving a container to one, so KWin keeps doing the showing and the hiding. A workspace gets a name, which focus-named-workspace, named-workspace-layout and named-workspace-tiling find it by on any monitor; focusing a named workspace focuses its monitor too, so focus_monitor comes with it. The name is komorebi's: naming a workspace does not rename KWin's desktop. The query focused-workspace-name answers with the name, or the index of a workspace that has none. The moves to a named workspace, and everything that addresses a monitor, are moves between monitors in the window manager and come with more than one monitor.
30 lines
892 B
Markdown
30 lines
892 B
Markdown
```text
|
|
Set the layout for the specified workspace
|
|
|
|
Usage: 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')
|
|
|
|
```
|