diff options
author | Calvin Lee <cyrus296@gmail.com> | 2017-03-01 11:35:47 -0700 |
---|---|---|
committer | Calvin Lee <cyrus296@gmail.com> | 2017-03-01 11:35:47 -0700 |
commit | d47d3d78de15fd0bc04550e35e40b97a82d6e1ca (patch) | |
tree | f6e28a20f3852e20b4333146490dcb507ab69065 /sway/sway.5.txt | |
parent | Merge pull request #1092 from 4e554c4c/move_floating (diff) | |
download | sway-d47d3d78de15fd0bc04550e35e40b97a82d6e1ca.tar.gz sway-d47d3d78de15fd0bc04550e35e40b97a82d6e1ca.tar.zst sway-d47d3d78de15fd0bc04550e35e40b97a82d6e1ca.zip |
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.txt | 7 |
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: | |||
364 | be configured with perfectly aligned adjacent positions for this option to | 364 | be configured with perfectly aligned adjacent positions for this option to |
365 | have any effect. | 365 | have any effect. |
366 | 366 | ||
367 | **workspace** <name>:: | 367 | **workspace** [number] <name>:: |
368 | Switches to the specified workspace. | 368 | Switches to the specified workspace. The string "number" is optional. The |
369 | worspace _name_, if unquoted, may not contain the string "output", as sway | ||
370 | will assume that the command is moving a worspace to an output, as described | ||
371 | below. | ||
369 | 372 | ||
370 | **workspace** <prev|next>:: | 373 | **workspace** <prev|next>:: |
371 | Switches to the next workspace on the current output or on the next output | 374 | Switches to the next workspace on the current output or on the next output |