From d4eb964fd1017ecc7dacfe6925ee18faa5c1dbcd Mon Sep 17 00:00:00 2001 From: Zandr Martin Date: Sun, 5 Jun 2016 09:03:13 -0500 Subject: document `assign` command --- sway/sway.5.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sway') diff --git a/sway/sway.5.txt b/sway/sway.5.txt index ffa181f7..bd2de12d 100644 --- 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** [→] :: + 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 move container to + workspace ". + **bindsym** :: 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 -- cgit v1.2.3