aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-08-05 00:05:48 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-08-06 14:17:58 +0100
commit85ae121caad02265b95ecea66fa864607575eb31 (patch)
treeb4d8dab619005e0b2f34068fd908b9153164a74f /sway/sway.5.scd
parentcommands: fix layout implementation (also better name for previous split layout) (diff)
downloadsway-85ae121caad02265b95ecea66fa864607575eb31.tar.gz
sway-85ae121caad02265b95ecea66fa864607575eb31.tar.zst
sway-85ae121caad02265b95ecea66fa864607575eb31.zip
commands: complete workspace implementation
Allow optional --no-auto-back-and-forth flag, as well as refactoring some logic
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd5
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 8083106b..36ce13df 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -526,7 +526,7 @@ config after the others, or it will be matched instead of the others.
526 state. Using _allow_ or _deny_ controls the window's ability to set itself 526 state. Using _allow_ or _deny_ controls the window's ability to set itself
527 as urgent. By default, windows are allowed to set their own urgency. 527 as urgent. By default, windows are allowed to set their own urgency.
528 528
529*workspace* [number] <name> 529*workspace* [--no-auto-back-and-forth] [number] <name>
530 Switches to the specified workspace. The string "number" is optional and is 530 Switches to the specified workspace. The string "number" is optional and is
531 used to sort workspaces. 531 used to sort workspaces.
532 532
@@ -537,6 +537,9 @@ config after the others, or it will be matched instead of the others.
537*workspace* prev\_on\_output|next\_on\_output 537*workspace* prev\_on\_output|next\_on\_output
538 Switches to the next workspace on the current output. 538 Switches to the next workspace on the current output.
539 539
540*workspace* back_and_forth
541 Switches to the previously focused workspace.
542
540*workspace* <name> output <output> 543*workspace* <name> output <output>
541 Specifies that workspace _name_ should be shown on the specified _output_. 544 Specifies that workspace _name_ should be shown on the specified _output_.
542 545