Skip to content

Commit c118618

Browse files
RedSoxFanddevault
authored andcommitted
sway.5.scd: clarify workspace config commands
This clarifies that `workspace <name> output <outputs...>` and `workspace <name> gaps ...` do not operate on existing workspaces. Additionally, alternate commands/solutions that operate on existing workspaces are listed.
1 parent 13cbb3b commit c118618

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sway/sway.5.scd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,13 +699,21 @@ The default colors are:
699699
Specifies that workspace _name_ should have the given gaps settings when it
700700
is created.
701701

702+
This command does not affect existing workspaces. To alter the gaps of an
703+
existing workspace, use the _gaps_ command.
704+
702705
*workspace* <name> output <outputs...>
703706
Specifies that workspace _name_ should be shown on the specified _outputs_.
704707
Multiple outputs can be listed and the first available will be used. If the
705708
workspace gets placed on an output further down the list and an output that
706709
is higher on the list becomes available, the workspace will be move to the
707710
higher priority output.
708711

712+
This command does not affect existing workspaces. To move an existing
713+
workspace, use the _move_ command in combination with the _workspace_
714+
criteria (non-empty workspaces only) or _workspace_ command (to switch
715+
to the workspace before moving).
716+
709717
*workspace_auto_back_and_forth* yes|no
710718
When _yes_, repeating a workspace switch command will switch back to the
711719
prior workspace. For example, if you are currently on workspace 1,

0 commit comments

Comments
 (0)