summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-01-01 12:41:52 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2017-01-01 12:41:52 -0500
commit0412e95ba99581a32513eb241e6ac2c4e4ed03dc (patch)
treebf835fa23ce04f0abf225fb52774329c6a236732
parentFix inline is_auto_layout (diff)
downloadsway-0412e95ba99581a32513eb241e6ac2c4e4ed03dc.tar.gz
sway-0412e95ba99581a32513eb241e6ac2c4e4ed03dc.tar.zst
sway-0412e95ba99581a32513eb241e6ac2c4e4ed03dc.zip
Document new layout command syntax
And an old one that the docs overlooked
-rw-r--r--sway/sway.5.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt
index b58fbe55..87b02f9f 100644
--- a/sway/sway.5.txt
+++ b/sway/sway.5.txt
@@ -87,11 +87,17 @@ They are expected to be used with **bindsym** or at runtime through **swaymsg**(
87 _splitv_, _toggle split_, _stacking_, _tabbed_, _auto_left_, _auto_right_, 87 _splitv_, _toggle split_, _stacking_, _tabbed_, _auto_left_, _auto_right_,
88 _auto_top, _auto_bottom_. 88 _auto_top, _auto_bottom_.
89 89
90**layout** auto <next|prev>::
91 Cycles between available auto layouts.
92
90**layout** <incnmaster|incncol> <n>:: 93**layout** <incnmaster|incncol> <n>::
91 Modify the number of master elements, respectively slave columns, in the 94 Modify the number of master elements, respectively slave columns, in the
92 focused container. <n> can be a positive or negative integer. These commands 95 focused container. <n> can be a positive or negative integer. These commands
93 only have an effect if the focused container uses one of the "auto" layouts. 96 only have an effect if the focused container uses one of the "auto" layouts.
94 97
98**layout** toggle split::
99 Cycles between available split layouts.
100
95**layout** promote:: 101**layout** promote::
96 Swap the focused element with the first in the one of the auto layouts. 102 Swap the focused element with the first in the one of the auto layouts.
97 103