forked from zellij-org/rust-plugin-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin-dev-workspace.kdl
27 lines (27 loc) · 1.16 KB
/
plugin-dev-workspace.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
27
layout {
tab name="Zellij-Console" {
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
pane split_direction="vertical" {
pane split_direction="horizontal" size="65%" {
pane edit=""
pane command="dash" name="Compile and reload plugin" {
// args "-c" "cargo build && zellij action start-or-reload-plugin file:/mnt/Data/Code/Target/Cargo/wasm32-wasi/debug/zellij-console.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 --quiet --clear --watch src -- 'cargo build --quiet && zellij action start-or-reload-plugin file:/mnt/Data/Code/Target/Cargo/wasm32-wasi/debug/zellij-console.wasm'"
size "25%"
}
}
pane stacked=true {
pane {
plugin location="zc"
}
pane command="gitui" {
start_suspended true
}
pane
}
}
}
}