mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
commands: complete workspace implementation
Allow optional --no-auto-back-and-forth flag, as well as refactoring some logic
This commit is contained in:
parent
356063b6c0
commit
85ae121caa
4 changed files with 59 additions and 46 deletions
|
|
@ -526,7 +526,7 @@ config after the others, or it will be matched instead of the others.
|
|||
state. Using _allow_ or _deny_ controls the window's ability to set itself
|
||||
as urgent. By default, windows are allowed to set their own urgency.
|
||||
|
||||
*workspace* [number] <name>
|
||||
*workspace* [--no-auto-back-and-forth] [number] <name>
|
||||
Switches to the specified workspace. The string "number" is optional and is
|
||||
used to sort workspaces.
|
||||
|
||||
|
|
@ -537,6 +537,9 @@ config after the others, or it will be matched instead of the others.
|
|||
*workspace* prev\_on\_output|next\_on\_output
|
||||
Switches to the next workspace on the current output.
|
||||
|
||||
*workspace* back_and_forth
|
||||
Switches to the previously focused workspace.
|
||||
|
||||
*workspace* <name> output <output>
|
||||
Specifies that workspace _name_ should be shown on the specified _output_.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue