summaryrefslogtreecommitdiff
path: root/sway/sway.5.txt
diff options
context:
space:
mode:
authorCalvin Lee <[email protected]>2017-03-01 11:35:47 -0700
committerCalvin Lee <[email protected]>2017-03-01 11:35:47 -0700
commitd47d3d78de15fd0bc04550e35e40b97a82d6e1ca (patch)
treef6e28a20f3852e20b4333146490dcb507ab69065 /sway/sway.5.txt
parentd6ac3021ceafdf7e3a876a3764cc553f4df6b8cc (diff)
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.
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r--sway/sway.5.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt
index f425cfe7..8e3f64ab 100644
--- a/sway/sway.5.txt
+++ b/sway/sway.5.txt
@@ -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