dotfiles/zellij/layouts/ide.kdl

130 lines
2.9 KiB
Plaintext

layout {
pane_template name="left-sidebar" split_direction="vertical" {
pane size="14%" borderless=true {
plugin location="zellij:strider"
}
children
}
pane_template name="bottom-console" split_direction="vertical" {
children
}
pane_template name="sidecar" split_direction="horizontal" {
children
}
tab_template name="compact-bar" {
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
children
}
default_tab_template {
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
left-sidebar split_direction="vertical" {
children
}
}
swap_tiled_layout name="ide" {
compact-bar max_panes=2 {
pane
}
compact-bar exact_panes=3 {
left-sidebar split_direction="vertical" {
pane
}
}
compact-bar exact_panes=4 {
left-sidebar split_direction="vertical" {
pane
}
bottom-console size="28%" split_direction="vertical" {
pane
}
}
compact-bar exact_panes=5 {
left-sidebar split_direction="vertical" {
pane
}
bottom-console size="28%" split_direction="vertical" {
pane
pane
}
}
compact-bar exact_panes=6 {
left-sidebar split_direction="vertical" {
pane
}
bottom-console size="28%" stacked=true {
pane
pane
pane
}
}
compact-bar exact_panes=7 {
left-sidebar split_direction="vertical" {
pane
sidecar size="24%" split_direction="horizontal" {
pane borderless=true
}
}
bottom-console size="28%" stacked=true {
pane
pane
pane
}
}
compact-bar exact_panes=8 {
left-sidebar split_direction="vertical" {
pane
sidecar size="24%" split_direction="horizontal" {
pane borderless=true
pane borderless=true
}
}
bottom-console size="28%" stacked=true {
pane
pane
pane
}
}
compact-bar min_panes=9 {
pane split_direction="vertical" {
pane
pane
pane
}
pane split_direction="vertical" {
pane
pane
pane
}
pane split_direction="vertical" {
pane
pane
pane
}
}
}
}