config: add move-to-output action
This commit is contained in:
parent
2a517f437a
commit
fecfd24ba0
15 changed files with 357 additions and 76 deletions
|
|
@ -219,6 +219,39 @@ Action:
|
|||
description: The name of the workspace.
|
||||
required: true
|
||||
kind: string
|
||||
move-to-output:
|
||||
description: |
|
||||
Moves a workspace to a different output.
|
||||
|
||||
- Example 1:
|
||||
|
||||
```toml
|
||||
[shortcuts]
|
||||
alt-F1 = { type = "move-to-output", workspace = "1", output.name = "right" }
|
||||
```
|
||||
|
||||
- Example 2:
|
||||
|
||||
```toml
|
||||
[shortcuts]
|
||||
alt-F1 = { type = "move-to-output", output.name = "right" }
|
||||
```
|
||||
fields:
|
||||
workspace:
|
||||
description: |
|
||||
The name of the workspace.
|
||||
|
||||
If this is omitted, the currently active workspace is moved.
|
||||
required: false
|
||||
kind: string
|
||||
output:
|
||||
description: |
|
||||
The output to move to.
|
||||
|
||||
If multiple outputs match, the workspace is moved to the first matching
|
||||
output.
|
||||
required: true
|
||||
ref: OutputMatch
|
||||
configure-connector:
|
||||
description: |
|
||||
Applies a configuration to connectors.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue