* adjust example layouts and move them from `./example` to
`./example/layouts`
* simplify the deserialization of the layout
* layouts are now constructed as follows:
```
---
template:
direction: Horizontal
parts:
- direction: Vertical
borderless: true
split_size:
Fixed: 1
run:
plugin: tab-bar
- direction: Vertical
body: true # <== The body section specifies the position of the
# inserted tab
- direction: Vertical
borderless: true
split_size:
Fixed: 2
run:
plugin: status-bar
tabs:
- direction: Vertical
- direction: Vertical
```
|
||
|---|---|---|
| .. | ||
| layouts | ||
| config.yaml | ||
| default.yaml | ||
| README.md | ||
| screen-overview.yaml | ||
| screen.nonfunctional | ||
| tmux-overview.yaml | ||
| tmux.nonfunctional | ||
Special considerations when using the configuration:
While trying to bind the newline character in the Config, use double quotes:
Ctrl: "\n" instead of Ctrl: '\n'