diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-06-05 10:09:44 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-06-05 10:09:44 -0400 |
commit | 17dbcb40dc3d2063efbb99ae17e8d1cc58e5b16e (patch) | |
tree | 1430b88a2c002d405202e06d9a002396fa1fedda | |
parent | Merge pull request #696 from zandrmartin/numpad-enter-swaylock-fix (diff) | |
parent | document `assign` command (diff) | |
download | sway-17dbcb40dc3d2063efbb99ae17e8d1cc58e5b16e.tar.gz sway-17dbcb40dc3d2063efbb99ae17e8d1cc58e5b16e.tar.zst sway-17dbcb40dc3d2063efbb99ae17e8d1cc58e5b16e.zip |
Merge pull request #697 from zandrmartin/assign-command
document `assign` command
-rw-r--r-- | sway/sway.5.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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**( | |||
140 | The following commands may be used either in the configuration file | 140 | The following commands may be used either in the configuration file |
141 | or triggered at runtime. | 141 | or triggered at runtime. |
142 | 142 | ||
143 | **assign** <criteria> [→] <workspace>:: | ||
144 | Assigns views matching _criteria_ (see **Criteria** section below) to | ||
145 | _workspace_. The → (U+2192) is optional and purely for aesthetics. This | ||
146 | command is exactly equivalent to "for_window <criteria> move container to | ||
147 | workspace <workspace>". | ||
148 | |||
143 | **bindsym** <key combo> <command>:: | 149 | **bindsym** <key combo> <command>:: |
144 | Binds _key combo_ to execute _command_ when pressed. You may use XKB key | 150 | Binds _key combo_ to execute _command_ when pressed. You may use XKB key |
145 | names here (**xev**(1) is a good tool for discovering them). An example | 151 | names here (**xev**(1) is a good tool for discovering them). An example |