-
Notifications
You must be signed in to change notification settings - Fork 9
/
dev.kdl
26 lines (26 loc) · 1.16 KB
/
dev.kdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
layout {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane split_direction="vertical" {
pane edit="src/main.rs"
pane {
pane command="bash" name="STDERR" {
args "-c" "echo \"LOG RESTARTED\" > /tmp/zellij-1000/zellij-log/zellij.log && tail -f /tmp/zellij-1000/zellij-log/zellij.log"
}
pane stacked=true {
pane size="10%" command="bash" name="COMPILE AND RELOAD PLUGIN" {
args "-c" "cargo build && zellij action start-or-reload-plugin file:target/wasm32-wasi/debug/monocle.wasm"
// if you have "watchexec" installed, you can comment the above line and uncomment the below one to build + reload the plugin on fs changes
// args "-c" "watchexec 'cargo build && zellij action start-or-reload-plugin file:target/wasm32-wasi/debug/monocle.wasm'"
}
pane expanded=true {
plugin location="file:target/wasm32-wasi/debug/monocle.wasm"
}
}
}
}
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}