88 lines
2.3 KiB
Plaintext
Raw Normal View History

2023-03-22 12:54:14 -05:00
layout {
2023-03-24 00:49:24 -05:00
pane_template name="explorer" {
pane split_direction="vertical" {
pane size="14%" borderless=true command="exa" {
args "--color=always" "--icons" "--git" "--tree" "-L2"
}
2023-03-23 17:14:42 -05:00
children
}
}
2023-03-24 00:49:24 -05:00
pane_template name="sidebar-pane" {
pane size="24%" split_direction="horizontal" { children; }
}
2023-03-23 17:14:42 -05:00
pane_template name="console-pane" {
2023-03-24 00:49:24 -05:00
pane size="28%" split_direction="vertical" { children; }
}
2023-03-23 17:14:42 -05:00
pane_template name="stacked-console-pane" {
2023-03-24 00:49:24 -05:00
pane size="28%" stacked=true { children; }
}
2023-03-23 17:14:42 -05:00
tab_template name="ide-tab" {
2023-03-24 00:49:24 -05:00
pane size=1 borderless=true { plugin location="zellij:compact-bar"; }
children
}
2023-03-22 19:18:06 -05:00
default_tab_template {
2023-03-24 00:49:24 -05:00
pane size=1 borderless=true { plugin location="zellij:compact-bar"; }
explorer { pane; }
2023-03-22 19:18:06 -05:00
}
swap_tiled_layout name="ide" {
2023-03-24 00:49:24 -05:00
ide-tab max_panes=3 {
explorer { pane; }
}
2023-03-23 17:14:42 -05:00
ide-tab exact_panes=4 {
2023-03-24 00:49:24 -05:00
explorer { pane; }
console-pane split_direction="vertical" size="28%" { pane; }
}
2023-03-23 17:14:42 -05:00
ide-tab exact_panes=5 {
2023-03-24 00:49:24 -05:00
explorer { pane; }
console-pane split_direction="vertical" size="28%" {
pane
pane
}
}
2023-03-23 17:14:42 -05:00
ide-tab exact_panes=6 {
2023-03-24 00:49:24 -05:00
explorer { pane; }
2023-03-23 17:14:42 -05:00
stacked-console-pane stacked=true size="28%" {
pane
pane
pane
}
}
2023-03-23 17:14:42 -05:00
ide-tab exact_panes=7 {
2023-03-24 00:49:24 -05:00
explorer split_direction="vertical" {
pane
2023-03-24 00:49:24 -05:00
sidebar-pane size="24%" { pane borderless=true; }
}
2023-03-23 17:14:42 -05:00
stacked-console-pane stacked=true size="28%" {
pane
pane
pane
}
}
2023-03-23 17:14:42 -05:00
ide-tab min_panes=8 {
2023-03-24 00:49:24 -05:00
explorer {
pane split_direction="vertical" {
pane
pane
pane
}
pane split_direction="vertical" {
pane
pane
pane
}
pane split_direction="vertical" {
pane
pane
pane
}
}
}
}
2023-03-22 12:54:14 -05:00
}