diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-11-11 11:22:38 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-11-11 11:22:38 -0500 |
commit | 12876932a948d7265745efaccafea509bdbaffe8 (patch) | |
tree | 458a3acb6db39a78d26b4ce38ea637aa21812e29 /sway/sway.5.scd | |
parent | 80a1c340a9c8c8aac5fe4dd7bc1dc15b43fce0dc (diff) |
Allow multiple outputs for workspace output
`i3 4.16` allows users to list multiple outputs for a workspace and the
first available will be used. The syntax is as follows:
`workspace <workspace> output <outputs...>`
Additionally when the workspace is created, the outputs get added to the
output priority list in the order specified. This ensures that if a higher
output gets connected, the workspace will move to the higher output. This
works the same way as if the user had a workspace on an output, disconnected
the output, and then later reconnected the output.
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 8f6b35f1..1a11015f 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -573,8 +573,12 @@ The default colors are: Specifies that workspace _name_ should have the given gaps settings when it is created. -*workspace* <name> output <output> - Specifies that workspace _name_ should be shown on the specified _output_. +*workspace* <name> output <outputs...> + Specifies that workspace _name_ should be shown on the specified _outputs_. + Multiple outputs can be listed and the first available will be used. If the + workspace gets placed on an output further down the list and an output that + is higher on the list becomes available, the workspace will be move to the + higher priority output. *workspace\_auto\_back\_and\_forth* yes|no When _yes_, repeating a workspace switch command will switch back to the |