-
Notifications
You must be signed in to change notification settings - Fork 2
/
dev.kdl
23 lines (22 loc) · 1.26 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
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/multitask.wasm --configuration \"shell=$SHELL\""
// To run with a persistent file, use multitask_file_name like below
// args "-c" "cargo build && zellij action start-or-reload-plugin file:target/wasm32-wasi/debug/multitask.wasm --configuration \"shell=$SHELL,multitask_file_name=.multitask\""
// 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/multitask.wasm'"
}
}
}
}
}