Convert zellij development layout to kdl

main
trivernis 2 years ago
parent b8eee44de6
commit 2561ad7aa6
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -0,0 +1,27 @@
layout {
default_tab_template {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
children
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}
tab split_direction="Vertical" {
pane split_direction="Vertical" {
pane command="zsh" size="60%" {
args "-c" "sleep 1; hx --show-explorer; nu"
}
pane size="40%" split_direction="Horizontal" {
pane command="btm" size="20%" borderless=true {
args "--config" "/home/trivernis/.config/bottom/dev.toml"
}
pane size="80%"
}
}
}
}
scroll_buffer_size 10000
copy_command "wl-copy"

@ -1,44 +0,0 @@
copy_command: "wl-copy"
scroll_buffer_size: 10000
template:
direction: Horizontal
parts:
- direction: Vertical # part 1
borderless: true
split_size:
Fixed: 1
run:
plugin:
location: "zellij:tab-bar"
- direction: Vertical # part 2
body: true
- direction: Vertical # part 3
borderless: true
split_size:
Fixed: 2
run:
plugin:
location: "zellij:status-bar"
tabs:
- name: "main" # tab 2
direction: Vertical
parts:
- direction: Horizontal
split_size:
Percent: 60
run:
command: {cmd: zsh, args: ["-c", "sleep 1; hx --show-explorer; nu"]}
- direction: Horizontal
split_size:
Percent: 40
parts:
- direction: Vertical
borderless: true
split_size:
Percent: 20
run:
command: {cmd: btm, args: ["--config", "/home/trivernis/.config/bottom/dev.toml"]}
- direction: Vertical
split_size:
Percent: 80
Loading…
Cancel
Save