mirror of
https://github.com/swaywm/sway.git
synced 2025-11-21 06:59:48 -05:00
Fix #1099: Allow spaces in worspace names
This commit allows unquoted spaces in worspace names in order to keep compatability with i3. The names _must not_ contain the string "output" which is documented in 'sway.5' because how sway detects the `move <workspace> output <output>` command. Also I documented that "number" may be used before the worspace name without affecting how the name is evaluated.
This commit is contained in:
parent
d6ac3021ce
commit
d47d3d78de
2 changed files with 43 additions and 30 deletions
|
|
@ -364,8 +364,11 @@ The default colors are:
|
|||
be configured with perfectly aligned adjacent positions for this option to
|
||||
have any effect.
|
||||
|
||||
**workspace** <name>::
|
||||
Switches to the specified workspace.
|
||||
**workspace** [number] <name>::
|
||||
Switches to the specified workspace. The string "number" is optional. The
|
||||
worspace _name_, if unquoted, may not contain the string "output", as sway
|
||||
will assume that the command is moving a worspace to an output, as described
|
||||
below.
|
||||
|
||||
**workspace** <prev|next>::
|
||||
Switches to the next workspace on the current output or on the next output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue