Add layout_action to change bias on tall layout

Can specify 1 bias to toggle between that and 50%.

Can specify multiple biases to rotate through them with each call to the
layout_action.

Left a comment regarding working around either a possible bug or a
design decision.
This commit is contained in:
Steven Moazami
2022-08-04 19:29:17 -04:00
parent 6595898b73
commit adfcbb004f
2 changed files with 37 additions and 9 deletions

View File

@@ -76,6 +76,12 @@ windows, or toggle the mirrored setting, for example::
map ctrl+y layout_action mirror true
map ctrl+n layout_action mirror false
You can also map a key to change the bias by providing a list of percentages
and it will rotate through the list as you press the key. If you only provide
one number it'll toggle between that percentage and 50, for example::
map ctrl+. layout_action bias 50 62 70
map ctrl+, layout_action bias 62
The Fat Layout
----------------
@@ -104,8 +110,7 @@ on the bottom of the screen instead of the top. The syntax for the options is::
└─────────┴──────────┴─────────┘
This layout also supports ``decrease_num_full_size_windows`` layout action like
the *Tall* layout, shown above.
This layout also supports the same layout actions as the *Tall* layout, shown above.
The Grid Layout