From d47d3d78de15fd0bc04550e35e40b97a82d6e1ca Mon Sep 17 00:00:00 2001 From: Calvin Lee Date: Wed, 1 Mar 2017 11:35:47 -0700 Subject: 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 output ` command. Also I documented that "number" may be used before the worspace name without affecting how the name is evaluated. --- sway/sway.5.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sway/sway.5.txt') 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** :: - Switches to the specified workspace. +**workspace** [number] :: + 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** :: Switches to the next workspace on the current output or on the next output -- cgit v1.2.3