diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-22 11:18:55 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-22 11:18:55 -0400 |
commit | b7f4607544d51811e986b98c8c3eda7ed7c68b1a (patch) | |
tree | 0e2cf9f02e1d2cde3bf7d0b7424ff5ac3ee6c1e3 /sway.5.txt | |
parent | Merge pull request #118 from Luminarys/master (diff) | |
download | sway-b7f4607544d51811e986b98c8c3eda7ed7c68b1a.tar.gz sway-b7f4607544d51811e986b98c8c3eda7ed7c68b1a.tar.zst sway-b7f4607544d51811e986b98c8c3eda7ed7c68b1a.zip |
Implement output configuration through config
Do not use `output res WIDTHxHEIGHT` yet, wlc has issues with it (cc
@Cloudef)
Diffstat (limited to 'sway.5.txt')
-rw-r--r-- | sway.5.txt | 46 |
1 files changed, 29 insertions, 17 deletions
@@ -41,6 +41,11 @@ Commands | |||
41 | **floating** toggle:: | 41 | **floating** toggle:: |
42 | Toggles the "floating" status of the focused view. | 42 | Toggles the "floating" status of the focused view. |
43 | 43 | ||
44 | **floating_modifier** <modifier>:: | ||
45 | When the _modifier_ key is held down, you may use left click to drag floating | ||
46 | windows, and right click to resize them. Unlike i3, this modifier may also be | ||
47 | used to resize and move windows that are tiled. | ||
48 | |||
44 | **focus** <direction>:: | 49 | **focus** <direction>:: |
45 | Direction may be one of _up_, _down_, _left_, _right_, or _parent_. The | 50 | Direction may be one of _up_, _down_, _left_, _right_, or _parent_. The |
46 | directional focus commands will move the focus in that direction. The parent | 51 | directional focus commands will move the focus in that direction. The parent |
@@ -55,6 +60,16 @@ Commands | |||
55 | If set to _yes_, the currently focused view will change as you move your | 60 | If set to _yes_, the currently focused view will change as you move your |
56 | mouse around the screen to the view that ends up underneath your mouse. | 61 | mouse around the screen to the view that ends up underneath your mouse. |
57 | 62 | ||
63 | **fullscreen**:: | ||
64 | Toggles fullscreen status for the focused view. | ||
65 | |||
66 | **gaps** <amount>:: | ||
67 | Adds _amount_ pixels between each view, and around each output. | ||
68 | |||
69 | **gaps** <inner|outer> <amount>:: | ||
70 | Adds _amount_ pixels as an _inner_ or _outer_ gap, where the former affects | ||
71 | spacing between views and the latter affects the space around each output. | ||
72 | |||
58 | **kill**:: | 73 | **kill**:: |
59 | Closes the currently focused view. | 74 | Closes the currently focused view. |
60 | 75 | ||
@@ -62,16 +77,27 @@ Commands | |||
62 | Sets the layout mode of the focused container. _mode_ can be one of _splith_, | 77 | Sets the layout mode of the focused container. _mode_ can be one of _splith_, |
63 | _splitv_, or _toggle split_. | 78 | _splitv_, or _toggle split_. |
64 | 79 | ||
80 | **move** <left|right|up|down>:: | ||
81 | Moves the focused container _left_, _right_, _up_, or _down_. | ||
82 | |||
83 | **output** <name> <resolution|res WIDTHxHEIGHT> <position|pos X,Y>:: | ||
84 | Configures the specified output. It will use the given resolution and be | ||
85 | arranged at the given position in the layout tree. You may omit either of | ||
86 | these parameters if you only want to set one of them. | ||
87 | |||
65 | **reload**:: | 88 | **reload**:: |
66 | Reloads the sway config file without restarting sway. | 89 | Reloads the sway config file without restarting sway. |
67 | 90 | ||
91 | **resize** <shrink|grow> <width|height> <amount>:: | ||
92 | Resizes the currently focused container or view by _amount_. _amount_ can be | ||
93 | specified as "n px" or "n ppt" or "n px or n ppt". | ||
94 | |||
68 | **set** <name> <value>:: | 95 | **set** <name> <value>:: |
69 | Creates a substitution for _value_ that can be used with $_name_ in other | 96 | Creates a substitution for _value_ that can be used with $_name_ in other |
70 | commands. | 97 | commands. |
71 | 98 | ||
72 | **split** <vertical|horizontal>:: | 99 | **split** <vertical|v|horizontal|h>:: |
73 | Splits the current container, vertically or horiziontally. The letters "h" and | 100 | Splits the current container, vertically or horiziontally. |
74 | "v" can be used instead of the full words "vertical" or "horizontal". | ||
75 | 101 | ||
76 | **splith**:: | 102 | **splith**:: |
77 | Equivalent to **split horizontal**. | 103 | Equivalent to **split horizontal**. |
@@ -79,20 +105,6 @@ Commands | |||
79 | **splitv**:: | 105 | **splitv**:: |
80 | Equivalent to **split vertical**. | 106 | Equivalent to **split vertical**. |
81 | 107 | ||
82 | **floating_modifier** <modifier>:: | ||
83 | When the _modifier_ key is held down, you may use left click to drag floating | ||
84 | windows, and right click to resize them. | ||
85 | |||
86 | **fullscreen**:: | ||
87 | Toggles fullscreen status for the focused view. | ||
88 | |||
89 | **gaps** <amount>:: | ||
90 | Adds _amount_ pixels between each view, and around each output. | ||
91 | |||
92 | **gaps** <inner|outer> <amount>:: | ||
93 | Adds _amount_ pixels as an _inner_ or _outer_ gap, where the former affects | ||
94 | spacing between views and the latter affects the space around each output. | ||
95 | |||
96 | **workspace** <name>:: | 108 | **workspace** <name>:: |
97 | Switches to the specified workspace. | 109 | Switches to the specified workspace. |
98 | 110 | ||