mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-28 20:05:50 +03:00
21273ac95a
* working prototype with passing tests * new tests and passing plugin tests as well * style(code): cleanups * cleanup strider from unused search feature * prototype of removing old plugin block from the config * aliases working from config file and all tests passing * fixups and cleanups * use aliases in layouts * update test snapshot * style(fmt): rustfmt
109 lines
3.0 KiB
Plaintext
109 lines
3.0 KiB
Plaintext
tab_template name="ui" {
|
|
pane size=1 borderless=true {
|
|
plugin location="tab-bar"
|
|
}
|
|
pane split_direction="Vertical" {
|
|
pane size="20%" {
|
|
plugin location="strider"
|
|
}
|
|
pane {
|
|
children
|
|
}
|
|
|
|
}
|
|
pane size=2 borderless=true {
|
|
plugin location="status-bar"
|
|
}
|
|
}
|
|
|
|
swap_tiled_layout name="vertical" {
|
|
ui max_panes=6 {
|
|
pane split_direction="vertical" {
|
|
pane
|
|
pane { children; }
|
|
}
|
|
}
|
|
ui max_panes=9 {
|
|
pane split_direction="vertical" {
|
|
pane { children; }
|
|
pane { pane; pane; pane; pane; }
|
|
}
|
|
}
|
|
ui max_panes=13 {
|
|
pane split_direction="vertical" {
|
|
pane { children; }
|
|
pane { pane; pane; pane; pane; }
|
|
pane { pane; pane; pane; pane; }
|
|
}
|
|
}
|
|
}
|
|
|
|
swap_tiled_layout name="horizontal" {
|
|
ui max_panes=6 {
|
|
pane
|
|
pane
|
|
}
|
|
ui max_panes=9 {
|
|
pane {
|
|
pane split_direction="vertical" { children; }
|
|
pane split_direction="vertical" { pane; pane; pane; pane; }
|
|
}
|
|
}
|
|
ui max_panes=13 {
|
|
pane {
|
|
pane split_direction="vertical" { children; }
|
|
pane split_direction="vertical" { pane; pane; pane; pane; }
|
|
pane split_direction="vertical" { pane; pane; pane; pane; }
|
|
}
|
|
}
|
|
}
|
|
|
|
swap_tiled_layout name="stacked" {
|
|
ui min_panes=6 {
|
|
pane split_direction="vertical" {
|
|
pane
|
|
pane stacked=true { children; }
|
|
}
|
|
}
|
|
}
|
|
|
|
swap_floating_layout name="staggered" {
|
|
floating_panes
|
|
}
|
|
|
|
swap_floating_layout name="enlarged" {
|
|
floating_panes max_panes=10 {
|
|
pane { x "5%"; y 1; width "90%"; height "90%"; }
|
|
pane { x "5%"; y 2; width "90%"; height "90%"; }
|
|
pane { x "5%"; y 3; width "90%"; height "90%"; }
|
|
pane { x "5%"; y 4; width "90%"; height "90%"; }
|
|
pane { x "5%"; y 5; width "90%"; height "90%"; }
|
|
pane { x "5%"; y 6; width "90%"; height "90%"; }
|
|
pane { x "5%"; y 7; width "90%"; height "90%"; }
|
|
pane { x "5%"; y 8; width "90%"; height "90%"; }
|
|
pane { x "5%"; y 9; width "90%"; height "90%"; }
|
|
pane focus=true { x 10; y 10; width "90%"; height "90%"; }
|
|
}
|
|
}
|
|
|
|
swap_floating_layout name="spread" {
|
|
floating_panes max_panes=1 {
|
|
pane {y "50%"; x "50%"; }
|
|
}
|
|
floating_panes max_panes=2 {
|
|
pane { x "1%"; y "25%"; width "45%"; }
|
|
pane { x "50%"; y "25%"; width "45%"; }
|
|
}
|
|
floating_panes max_panes=3 {
|
|
pane focus=true { y "55%"; width "45%"; height "45%"; }
|
|
pane { x "1%"; y "1%"; width "45%"; }
|
|
pane { x "50%"; y "1%"; width "45%"; }
|
|
}
|
|
floating_panes max_panes=4 {
|
|
pane { x "1%"; y "55%"; width "45%"; height "45%"; }
|
|
pane focus=true { x "50%"; y "55%"; width "45%"; height "45%"; }
|
|
pane { x "1%"; y "1%"; width "45%"; height "45%"; }
|
|
pane { x "50%"; y "1%"; width "45%"; height "45%"; }
|
|
}
|
|
}
|