From 12876932a948d7265745efaccafea509bdbaffe8 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Sun, 11 Nov 2018 11:22:38 -0500 Subject: 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 output ` 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. --- sway/sway.5.scd | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sway/sway.5.scd') 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* output - Specifies that workspace _name_ should be shown on the specified _output_. +*workspace* output + 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 -- cgit v1.2.3