From b39d60741e82d0712fb12304107eb983e07fc5ad Mon Sep 17 00:00:00 2001 From: Xinhao Yuan Date: Sun, 14 Jul 2019 13:27:29 -0400 Subject: [PATCH] readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5995363..50cd108 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ If `cycle` is true, it then moves the window by cycling all regions. ## Advanced -# `name` as a function in `machi.layout.create` +### `name` as a function in `machi.layout.create` When passed in as a function, `name` takes the tag `t` and a boolean flag `p` and returns a function for the tag-dependent name of the layout. Flag `p` is set true when the name is used for persisting the layout. If the layout is not intented to persist, returning `nil` when `p` is true to skip persisting.