1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-05-23 17:26:15 +02:00

document `assign` command

This commit is contained in:
Zandr Martin 2016-06-05 09:03:13 -05:00
parent d57714e802
commit d4eb964fd1

View File

@ -140,6 +140,12 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**(
The following commands may be used either in the configuration file
or triggered at runtime.
**assign** <criteria> [→] <workspace>::
Assigns views matching _criteria_ (see **Criteria** section below) to
_workspace_. The → (U+2192) is optional and purely for aesthetics. This
command is exactly equivalent to "for_window <criteria> move container to
workspace <workspace>".
**bindsym** <key combo> <command>::
Binds _key combo_ to execute _command_ when pressed. You may use XKB key
names here (**xev**(1) is a good tool for discovering them). An example