aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-11-11 11:22:38 -0500
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-11-11 11:22:38 -0500
commit12876932a948d7265745efaccafea509bdbaffe8 (patch)
tree458a3acb6db39a78d26b4ce38ea637aa21812e29 /sway/sway.5.scd
parentMerge pull request #3098 from c-edw/feature/RefactorArgParse (diff)
downloadsway-12876932a948d7265745efaccafea509bdbaffe8.tar.gz
sway-12876932a948d7265745efaccafea509bdbaffe8.tar.zst
sway-12876932a948d7265745efaccafea509bdbaffe8.zip
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.scd8
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:
573 Specifies that workspace _name_ should have the given gaps settings when it 573 Specifies that workspace _name_ should have the given gaps settings when it
574 is created. 574 is created.
575 575
576*workspace* <name> output <output> 576*workspace* <name> output <outputs...>
577 Specifies that workspace _name_ should be shown on the specified _output_. 577 Specifies that workspace _name_ should be shown on the specified _outputs_.
578 Multiple outputs can be listed and the first available will be used. If the
579 workspace gets placed on an output further down the list and an output that
580 is higher on the list becomes available, the workspace will be move to the
581 higher priority output.
578 582
579*workspace\_auto\_back\_and\_forth* yes|no 583*workspace\_auto\_back\_and\_forth* yes|no
580 When _yes_, repeating a workspace switch command will switch back to the 584 When _yes_, repeating a workspace switch command will switch back to the