diff options
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 70b74a45..83188067 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -51,7 +51,7 @@ The following commands may only be used in the configuration file. | |||
51 | *wordexp*(3) for details). The same include file can only be included once; | 51 | *wordexp*(3) for details). The same include file can only be included once; |
52 | subsequent attempts will be ignored. | 52 | subsequent attempts will be ignored. |
53 | 53 | ||
54 | *set* <name> <value> | 54 | *set* $<name> <value> |
55 | Sets variable $_name_ to _value_. You can use the new variable in the | 55 | Sets variable $_name_ to _value_. You can use the new variable in the |
56 | arguments of future commands. | 56 | arguments of future commands. |
57 | 57 | ||
@@ -132,7 +132,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). | |||
132 | If unspecified, the default is 10 pixels. Pixels are ignored when moving | 132 | If unspecified, the default is 10 pixels. Pixels are ignored when moving |
133 | tiled containers. | 133 | tiled containers. |
134 | 134 | ||
135 | *move* [absolute] position <pos_x> [px] <pos_y> [px] | 135 | *move* [absolute] position <pos\_x> [px] <pos\_y> [px] |
136 | Moves the focused container to the specified position. | 136 | Moves the focused container to the specified position. |
137 | 137 | ||
138 | *move* [absolute] position center|mouse | 138 | *move* [absolute] position center|mouse |
@@ -154,7 +154,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). | |||
154 | Moves the focused container to the previous or next workspace on this | 154 | Moves the focused container to the previous or next workspace on this |
155 | output, wrapping around if already at the first or last workspace. | 155 | output, wrapping around if already at the first or last workspace. |
156 | 156 | ||
157 | *move* container|window [to] workspace back_and_forth | 157 | *move* container|window [to] workspace back\_and\_forth |
158 | Moves the focused container to previously focused workspace. | 158 | Moves the focused container to previously focused workspace. |
159 | 159 | ||
160 | *move* container|window|workspace [to] output <name> | 160 | *move* container|window|workspace [to] output <name> |
@@ -167,6 +167,10 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). | |||
167 | *move* [to] scratchpad | 167 | *move* [to] scratchpad |
168 | Moves the focused window to the scratchpad. | 168 | Moves the focused window to the scratchpad. |
169 | 169 | ||
170 | *nop* <comment> | ||
171 | A no operation command that can be used to override default behaviour. The | ||
172 | optional comment argument is ignored, but logged for debugging purposes. | ||
173 | |||
170 | *reload* | 174 | *reload* |
171 | Reloads the sway config file and applies any changes. | 175 | Reloads the sway config file and applies any changes. |
172 | 176 | ||
@@ -215,13 +219,20 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). | |||
215 | The following commands may be used either in the configuration file or at | 219 | The following commands may be used either in the configuration file or at |
216 | runtime. | 220 | runtime. |
217 | 221 | ||
218 | *assign* <criteria> [→] <workspace> | 222 | *assign* <criteria> [→] [workspace] [number] <workspace> |
219 | Assigns views matching _criteria_ (see *CRITERIA* for details) to | 223 | Assigns views matching _criteria_ (see *CRITERIA* for details) to |
220 | _workspace_. The → (U+2192) is optional and cosmetic. This command is | 224 | _workspace_. The → (U+2192) is optional and cosmetic. This command is |
221 | equivalent to: | 225 | equivalent to: |
222 | 226 | ||
223 | for\_window <criteria> move container to workspace <workspace> | 227 | for\_window <criteria> move container to workspace <workspace> |
224 | 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 | |||
225 | *bindsym* [--release|--locked] <key combo> <command> | 236 | *bindsym* [--release|--locked] <key combo> <command> |
226 | 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 |
227 | 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). |