aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-08-12 00:38:19 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-08-18 17:25:06 +0100
commit23601a8771f6e98e04bb4bfb9dd75ed399a20717 (patch)
treeaf7f151dfb62412efef27f91c5776ec78602a0b5 /sway/sway.5.scd
parentcommands: saner workspace number handling (diff)
downloadsway-23601a8771f6e98e04bb4bfb9dd75ed399a20717.tar.gz
sway-23601a8771f6e98e04bb4bfb9dd75ed399a20717.tar.zst
sway-23601a8771f6e98e04bb4bfb9dd75ed399a20717.zip
commands: complete assign command
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd9
1 files changed, 8 insertions, 1 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 8e56d5bb..83188067 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -219,13 +219,20 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
219The following commands may be used either in the configuration file or at 219The following commands may be used either in the configuration file or at
220runtime. 220runtime.
221 221
222*assign* <criteria> [→] <workspace> 222*assign* <criteria> [→] [workspace] [number] <workspace>
223 Assigns views matching _criteria_ (see *CRITERIA* for details) to 223 Assigns views matching _criteria_ (see *CRITERIA* for details) to
224 _workspace_. The → (U+2192) is optional and cosmetic. This command is 224 _workspace_. The → (U+2192) is optional and cosmetic. This command is
225 equivalent to: 225 equivalent to:
226 226
227 for\_window <criteria> move container to workspace <workspace> 227 for\_window <criteria> move container to workspace <workspace>
228 228
229*assign* <criteria> [→] output left|right|up|down|<name>
230 Assigns views matching _criteria_ (see *CRITERIA* for details) to the
231 specified output. The → (U+2192) is optional and cosmetic. This command is
232 equivalent to:
233
234 for\_window <criteria> move container to output <output>
235
229*bindsym* [--release|--locked] <key combo> <command> 236*bindsym* [--release|--locked] <key combo> <command>
230 Binds _key combo_ to execute the sway command _command_ when pressed. You 237 Binds _key combo_ to execute the sway command _command_ when pressed. You
231 may use XKB key names here (*xev*(1) is a good tool for discovering these). 238 may use XKB key names here (*xev*(1) is a good tool for discovering these).