diff options
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r-- | sway/sway.5.txt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt index 731394dd..750254c8 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt | |||
@@ -73,7 +73,7 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**( | |||
73 | **focus** output <direction|name>:: | 73 | **focus** output <direction|name>:: |
74 | Direction may be one of _up_, _down_, _left_, _right_. The directional focus | 74 | Direction may be one of _up_, _down_, _left_, _right_. The directional focus |
75 | commands will move the focus to the output in that direction. When name is | 75 | commands will move the focus to the output in that direction. When name is |
76 | given the focus is changed to the output with that name. | 76 | given, the focus is changed to the output with that name. |
77 | 77 | ||
78 | **focus** mode_toggle:: | 78 | **focus** mode_toggle:: |
79 | Toggles focus between floating view and tiled view. | 79 | Toggles focus between floating view and tiled view. |
@@ -148,7 +148,7 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**( | |||
148 | through the windows in the scratchpad. | 148 | through the windows in the scratchpad. |
149 | 149 | ||
150 | **split** <vertical|v|horizontal|h|toggle|t>:: | 150 | **split** <vertical|v|horizontal|h|toggle|t>:: |
151 | Splits the current container, vertically or horizontally. If toggled then the | 151 | Splits the current container, vertically or horizontally. If toggled, then the |
152 | current container is split opposite to the parent container. | 152 | current container is split opposite to the parent container. |
153 | 153 | ||
154 | **splith**:: | 154 | **splith**:: |
@@ -185,10 +185,10 @@ or triggered at runtime. | |||
185 | 185 | ||
186 | **client**.<color_class> <border> <background> <text> <indicator> <child_border>:: | 186 | **client**.<color_class> <border> <background> <text> <indicator> <child_border>:: |
187 | The client commands control the colors of the view borders and title bars. All | 187 | The client commands control the colors of the view borders and title bars. All |
188 | of the client commands _require_ five color values. (The one exception is | 188 | client commands _require_ five color values. (The one exception is |
189 | **client.background** which _requires_ one color value.) If you only want to | 189 | **client.background** which _requires_ one color value.) If you only want to |
190 | specify a subset, supply default colors for all the others. Colors must be | 190 | specify a subset, supply default colors for all the others. Colors must be |
191 | defined in hex. i.e. _#rrggbb_ or _#rrggbbaa_ when including the alpha | 191 | defined in hex. i.e. _#rrggbb_ or _#rrggbbaa_, when including the alpha |
192 | channel. | 192 | channel. |
193 | + | 193 | + |
194 | The command tokens are: | 194 | The command tokens are: |
@@ -258,7 +258,7 @@ The default colors are: | |||
258 | Uses the container dimensions as default. | 258 | Uses the container dimensions as default. |
259 | -1 x -1 will remove any restriction on dimensions. | 259 | -1 x -1 will remove any restriction on dimensions. |
260 | 0 x 0 has the same behavior as not setting any value. | 260 | 0 x 0 has the same behavior as not setting any value. |
261 | If in conflict this option has precedence over floating_minimum_size. | 261 | If in conflict, this option has precedence over floating_minimum_size. |
262 | 262 | ||
263 | **floating_minimum_size** <width> x <height>:: | 263 | **floating_minimum_size** <width> x <height>:: |
264 | Specifies the minimum dimensions of floating windows. | 264 | Specifies the minimum dimensions of floating windows. |
@@ -338,8 +338,8 @@ The default colors are: | |||
338 | 338 | ||
339 | **mode** <mode_name>:: | 339 | **mode** <mode_name>:: |
340 | Switches to the given mode_name. The default mode is simply _default_. To | 340 | Switches to the given mode_name. The default mode is simply _default_. To |
341 | create a new mode in config append _{_ to this command, the following lines | 341 | create a new mode append _{_ to this command, the following lines |
342 | will be keybinds for that mode, and _}_ on its own line to close the block. | 342 | will be keybindings for that mode, and _}_ on its own line to close the block. |
343 | 343 | ||
344 | **mouse_warping** <output|none>:: | 344 | **mouse_warping** <output|none>:: |
345 | When _output_: place mouse at center of newly focused window when changing | 345 | When _output_: place mouse at center of newly focused window when changing |
@@ -352,7 +352,7 @@ The default colors are: | |||
352 | **output** <name> <resolution|res> <WIDTHxHEIGHT>:: | 352 | **output** <name> <resolution|res> <WIDTHxHEIGHT>:: |
353 | Configures the specified output to use the given resolution. | 353 | Configures the specified output to use the given resolution. |
354 | + | 354 | + |
355 | _Note_: sway does not currently support modesetting. Your output's native | 355 | _Note_: sway does not currently support setting the output mode. Your output's native |
356 | resolution will be used and the screen will be scaled from the resolution | 356 | resolution will be used and the screen will be scaled from the resolution |
357 | specified to your native resolution. | 357 | specified to your native resolution. |
358 | 358 | ||
@@ -399,12 +399,12 @@ The default colors are: | |||
399 | 399 | ||
400 | **unmark** <identifier>:: | 400 | **unmark** <identifier>:: |
401 | **Unmark** will remove _identifier_ from the list of current marks on a window. If | 401 | **Unmark** will remove _identifier_ from the list of current marks on a window. If |
402 | no _identifier_ is specified then **unmark** will remove all marks. | 402 | no _identifier_ is specified, then **unmark** will remove all marks. |
403 | 403 | ||
404 | **workspace** [number] <name>:: | 404 | **workspace** [number] <name>:: |
405 | Switches to the specified workspace. The string "number" is optional. The | 405 | Switches to the specified workspace. The string "number" is optional. The |
406 | worspace _name_, if unquoted, may not contain the string "output", as sway | 406 | workspace _name_, if unquoted, may not contain the string "output", as sway |
407 | will assume that the command is moving a worspace to an output, as described | 407 | will assume that the command is moving a workspace to an output, as described |
408 | below. | 408 | below. |
409 | 409 | ||
410 | **workspace** <prev|next>:: | 410 | **workspace** <prev|next>:: |
@@ -438,9 +438,9 @@ A criteria is a string in the form of e.g.: | |||
438 | 438 | ||
439 | [class="[Rr]egex.*" title="some title"] | 439 | [class="[Rr]egex.*" title="some title"] |
440 | 440 | ||
441 | The string contains one or more (space separated) attribute/value pairs and they | 441 | The string contains one or more (space separated) attribute/value pairs. They |
442 | are used by some commands filter which views to execute actions on. All attributes | 442 | are used by some commands to choose which views to execute actions on. All attributes |
443 | must match for the criteria string to match. | 443 | must match for the criteria to match. |
444 | 444 | ||
445 | Criteria may be used with either the **for_window** or **assign** commands to | 445 | Criteria may be used with either the **for_window** or **assign** commands to |
446 | specify operations to perform on new views. A criteria may also be used to | 446 | specify operations to perform on new views. A criteria may also be used to |
@@ -460,7 +460,7 @@ Currently supported attributes: | |||
460 | 460 | ||
461 | **class**:: | 461 | **class**:: |
462 | Compare value against the window class. Can be a regular expression. If value | 462 | Compare value against the window class. Can be a regular expression. If value |
463 | is _focused_ then the window class must be the same as that of the currently | 463 | is _focused_, then the window class must be the same as that of the currently |
464 | focused window. | 464 | focused window. |
465 | 465 | ||
466 | **con_id**:: | 466 | **con_id**:: |
@@ -485,7 +485,7 @@ Currently supported attributes: | |||
485 | 485 | ||
486 | **workspace**:: | 486 | **workspace**:: |
487 | Compare against the workspace name for this view. Can be a regular expression. | 487 | Compare against the workspace name for this view. Can be a regular expression. |
488 | If value is _focused_ then all the views on the currently focused workspace | 488 | If the value is _focused_, then all the views on the currently focused workspace |
489 | matches. | 489 | matches. |
490 | 490 | ||
491 | See Also | 491 | See Also |