commit 17dbcb40dc3d2063efbb99ae17e8d1cc58e5b16e
parent d57714e8020870d25be6ce778a36741295f9ba3e
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 5 Jun 2016 10:09:44 -0400
Merge pull request #697 from zandrmartin/assign-command
document `assign` command
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/sway/sway.5.txt b/sway/sway.5.txt
@@ -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