mirror of
https://github.com/swaywm/sway.git
synced 2025-11-18 06:59:48 -05:00
commands: complete assign command
This commit is contained in:
parent
e81cc8a575
commit
23601a8771
4 changed files with 45 additions and 23 deletions
|
|
@ -219,13 +219,20 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
|
|||
The following commands may be used either in the configuration file or at
|
||||
runtime.
|
||||
|
||||
*assign* <criteria> [→] <workspace>
|
||||
*assign* <criteria> [→] [workspace] [number] <workspace>
|
||||
Assigns views matching _criteria_ (see *CRITERIA* for details) to
|
||||
_workspace_. The → (U+2192) is optional and cosmetic. This command is
|
||||
equivalent to:
|
||||
|
||||
for\_window <criteria> move container to workspace <workspace>
|
||||
|
||||
*assign* <criteria> [→] output left|right|up|down|<name>
|
||||
Assigns views matching _criteria_ (see *CRITERIA* for details) to the
|
||||
specified output. The → (U+2192) is optional and cosmetic. This command is
|
||||
equivalent to:
|
||||
|
||||
for\_window <criteria> move container to output <output>
|
||||
|
||||
*bindsym* [--release|--locked] <key combo> <command>
|
||||
Binds _key combo_ to execute the sway command _command_ when pressed. You
|
||||
may use XKB key names here (*xev*(1) is a good tool for discovering these).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue