summaryrefslogtreecommitdiffstats
path: root/sway/sway.5.txt
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-01-14 16:11:48 -0500
committerLibravatar GitHub <noreply@github.com>2017-01-14 16:11:48 -0500
commit81102e8eacbf72ad0c5e81c935a957a8824a0922 (patch)
treef8b51dd1f5214966ad30b0bd7b561afa70dcb4dc /sway/sway.5.txt
parentMerge pull request #1048 from dkess/proper-output-wrapping (diff)
parentMove awesome config to contrib/ (diff)
downloadsway-81102e8eacbf72ad0c5e81c935a957a8824a0922.tar.gz
sway-81102e8eacbf72ad0c5e81c935a957a8824a0922.tar.zst
sway-81102e8eacbf72ad0c5e81c935a957a8824a0922.zip
Merge pull request #1024 from willakat/master
Add Awesome/Monad style automatic layouts to Sway
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r--sway/sway.5.txt42
1 files changed, 31 insertions, 11 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt
index 7980ba82..ee1cbddd 100644
--- a/sway/sway.5.txt
+++ b/sway/sway.5.txt
@@ -39,7 +39,7 @@ The following commands may only be used in the configuration file.
39**set** <name> <value>:: 39**set** <name> <value>::
40 Sets variable $name to _value_. You can use the new variable in the arguments 40 Sets variable $name to _value_. You can use the new variable in the arguments
41 of future commands. 41 of future commands.
42 42
43**orientation** <horizontal|vertical|auto>:: 43**orientation** <horizontal|vertical|auto>::
44 Sets the default container layout for tiled containers. 44 Sets the default container layout for tiled containers.
45 45
@@ -62,11 +62,13 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**(
62 Make focused view floating, non-floating, or the opposite of what it is now. 62 Make focused view floating, non-floating, or the opposite of what it is now.
63 63
64**focus** <direction>:: 64**focus** <direction>::
65 Direction may be one of _up_, _down_, _left_, _right_, _parent_, or _child_. 65 Direction may be one of _up_, _down_, _left_, _right_, _next_, _prev_,
66 The directional focus commands will move the focus in that direction. The parent 66 _parent_, or _child_. The directional focus commands will move the focus
67 focus command will change the focus to the parent of the currently focused 67 in that direction. The _next_ and _prev_ directions will focus the next,
68 container, which is useful, for example, to open a sibling of the parent 68 respectively previous, element in the current container. The parent
69 container, or to move the entire container around. 69 focus command will change the focus to the parent of the currently
70 focused container, which is useful, for example, to open a sibling of
71 the parent container, or to move the entire container around.
70 72
71**focus** output <direction|name>:: 73**focus** output <direction|name>::
72 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
@@ -81,10 +83,28 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**(
81 83
82**layout** <mode>:: 84**layout** <mode>::
83 Sets the layout mode of the focused container. _mode_ can be one of _splith_, 85 Sets the layout mode of the focused container. _mode_ can be one of _splith_,
84 _splitv_, _toggle split_, _stacking_ or _tabbed_. 86 _splitv_, _toggle split_, _stacking_, _tabbed_.
87
88**layout** auto <mode>::
89 Sets layout to one of the auto modes, i.e. one of _left_, right_, _top_,
90 or _bottom_.
91
92**layout** auto <next|prev>::
93 Cycles between available auto layouts.
94
95**layout** auto [master|ncol] [inc|set] <n>::
96 Modify the number of master elements, respectively slave columns, in the
97 focused container. <n> can be a positive or negative integer. These commands
98 only have an effect if the focused container uses one of the "auto" layouts.
99
100**layout** toggle split::
101 Cycles between available split layouts.
85 102
86**move** <left|right|up|down>:: 103**move** <left|right|up|down|next|prev|first>::
87 Moves the focused container _left_, _right_, _up_, or _down_. 104 Moves the focused container _left_, _right_, _up_, or _down_. Moving to _prev_
105 or _next_ swaps the container with its sibling in the same container. Move
106 _first_ exchanges the focused element in an auto layout with the first
107 element, i.e. promotes the focused element to master position.
88 108
89**move** <container|window> to workspace <name>:: 109**move** <container|window> to workspace <name>::
90 Moves the focused container to the workspace identified by _name_. 110 Moves the focused container to the workspace identified by _name_.
@@ -360,8 +380,8 @@ The default colors are:
360 switch to workspace 2, then invoke the "workspace 2" command again, you 380 switch to workspace 2, then invoke the "workspace 2" command again, you
361 will be returned to workspace 1. Defaults to _no_. 381 will be returned to workspace 1. Defaults to _no_.
362 382
363**workspace_layout** <default|stacking|tabbed>:: 383**workspace_layout** <default|stacking|tabbed|auto|auto left|auto right|auto
364 Specifies the start layout for new workspaces. 384 top|auto bottom>:: Specifies the start layout for new workspaces.
365 385
366**include** <path>:: 386**include** <path>::
367 Includes a sub config file by _path_. _path_ can be either a full path or a 387 Includes a sub config file by _path_. _path_ can be either a full path or a