diff options
-rw-r--r-- | sway/sway.5.scd | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index ad5dacc8..b8b838ab 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -745,9 +745,19 @@ The default colors are: | |||
745 | state. Using _allow_ or _deny_ controls the window's ability to set itself | 745 | state. Using _allow_ or _deny_ controls the window's ability to set itself |
746 | as urgent. By default, windows are allowed to set their own urgency. | 746 | as urgent. By default, windows are allowed to set their own urgency. |
747 | 747 | ||
748 | *workspace* [--no-auto-back-and-forth] [number] <name> | 748 | *workspace* [--no-auto-back-and-forth] [number] <[num:]name> |
749 | Switches to the specified workspace. The string "number" is optional and is | 749 | Switches to the specified workspace. The _num:_ portion of the name is |
750 | used to sort workspaces. | 750 | optional and will be used for ordering. If _num:_ is not given and |
751 | _name_ is a number, then it will be also be used for ordering. | ||
752 | |||
753 | If the _no-auto-back-and-forth_ option is given, then this command will | ||
754 | not perform a back-and-forth operation when the workspace is already | ||
755 | focused and _workspace_auto_back_and_forth_ is enabled. | ||
756 | |||
757 | If the _number_ keyword is specified and a workspace with the number | ||
758 | already exists, then the workspace with the number will be used. If a | ||
759 | workspace with the number does not exist, a new workspace will be created | ||
760 | with the name _name_. | ||
751 | 761 | ||
752 | *workspace* prev|next | 762 | *workspace* prev|next |
753 | Switches to the next workspace on the current output or on the next output | 763 | Switches to the next workspace on the current output or on the next output |