config: add Seat::show_workspace_on
This commit is contained in:
parent
d2ce140f54
commit
d320d2f3c1
12 changed files with 131 additions and 13 deletions
|
|
@ -232,12 +232,19 @@ This table is a tagged union. The variant is determined by the `type` field. It
|
|||
|
||||
Switches to a workspace.
|
||||
|
||||
- Example:
|
||||
- Example 1:
|
||||
|
||||
```toml
|
||||
[shortcuts]
|
||||
alt-F1 = { type = "show-workspace", name = "1" }
|
||||
```
|
||||
|
||||
- Example 2:
|
||||
|
||||
```toml
|
||||
[shortcuts]
|
||||
alt-F1 = { type = "show-workspace", name = "1", output.name = "left" }
|
||||
```
|
||||
|
||||
The table has the following fields:
|
||||
|
||||
|
|
@ -247,6 +254,19 @@ This table is a tagged union. The variant is determined by the `type` field. It
|
|||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `output` (optional):
|
||||
|
||||
The output to show a newly created workspace on. This has no effect on
|
||||
workspaces that already exist.
|
||||
|
||||
If this is not set, then a new workspace is shown on the output that
|
||||
contains the cursor.
|
||||
|
||||
If multiple outputs match, the workspace is shown on the first matching
|
||||
output.
|
||||
|
||||
The value of this field should be a [OutputMatch](#types-OutputMatch).
|
||||
|
||||
- `move-to-workspace`:
|
||||
|
||||
Moves the currently focused window to a workspace.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue