This commit is contained in:
Xinhao Yuan 2019-07-08 17:39:38 -04:00
parent e9b0b7e234
commit 9c00a54811
1 changed files with 3 additions and 1 deletions

View File

@ -96,9 +96,11 @@ Calling `layout_machi.switcher.start()` will create a switcher that can (1) move
## Other functions
`layout_machi.editor.fit_region(c, cycle)` will fit a floating client into the closest region.
`layout_machi.editor.fit_region(c, cycle = false)` will fit a floating client into the closest region.
If `cycle` is true, it then moves the window by cycling all regions.
`layout_machi.editor.refresh_layout(layout, screen)` will recalculate the regions of the layout based on the workarea of the `screen` and the last editing command performed on `layout`.
## TODO
- Tabs on regions?