Compare commits

1 Commits

Author SHA1 Message Date
MDietermann
26d5ec8367 refactor(zellij): improve session/layout handling
Some checks failed
ci / test (push) Has been cancelled
2026-06-25 20:12:28 +02:00

View File

@@ -17,26 +17,38 @@ write_zellij_config ~/.config/zellij/config.kdl
cat >~/.config/zellij/layouts/arduino.kdl <<'LAYOUT'
layout {
tab name="code" focus=true {
pane split_direction="vertical" {
pane size="65%" {
command "nvim"
args "."
}
pane split_direction="horizontal" {
pane size="60%" name="terminal"
pane size="40%" name="serial" {
command "bash"
args "-c" "echo '⚡ Serial — run: tio /dev/ttyUSB0 -b 115200'"
}
tab name="code" focus=true {
pane split_direction="vertical" {
pane size=1 borderless=true {
plugin location="tab-bar"
}
pane size="65%" {
command "nvim"
args "."
}
pane split_direction="horizontal" {
pane size="60%" name="terminal"
pane size="40%" name="serial" {
command "bash"
args "-c" "echo '⚡ Serial — run: tio /dev/ttyUSB0 -b 115200'"
}
}
}
tab name="git" {
pane {
command "lazygit"
}
pane size=1 borderless=true {
plugin location="status-bar"
}
}
tab name="git" {
pane size=1 borderless=true {
plugin location="tab-bar"
}
pane {
command "lazygit"
}
pane size=1 borderless=true {
plugin location="status-bar"
}
}
}
LAYOUT
info "Zellij configured with $THEME_DISPLAY_NAME + Arduino layout"