feat: add zellij tab support

This commit is contained in:
2025-04-17 02:03:21 +08:00
parent 1ff8a311ae
commit 10b17dc66b
7 changed files with 53 additions and 65 deletions

30
dev.kdl Normal file
View File

@@ -0,0 +1,30 @@
on_force_close "quit"
layout {
default_tab_template {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
children
}
tab name="WebUI" {
pane command="pnpm" {
args "run" "--filter=webui" "dev"
}
}
tab name="Proxy" {
pane command="pnpm" {
args "run" "--filter=proxy" "dev"
}
}
tab name="Recorder" {
pane command="cargo" {
args "watch" "-w" "apps/recorder" "-x" "run -p recorder --bin recorder_cli -- --environment development"
}
}
tab name="Deps" {
pane command="docker" {
args "compose" "-f" "devdeps.compose.yaml" "up"
}
}
}