From 9c00a54811f2a34824ef8aeb6104b7adc2269d9c Mon Sep 17 00:00:00 2001 From: Xinhao Yuan Date: Mon, 8 Jul 2019 17:39:38 -0400 Subject: [PATCH] readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8aec753..f8280ce 100644 --- a/README.md +++ b/README.md @@ -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?