diff options
| author | Daniel Jankowski <daniel.jankowski@rub.de> | 2023-08-30 19:37:49 +0200 |
|---|---|---|
| committer | Daniel Jankowski <daniel.jankowski@rub.de> | 2023-08-30 19:37:49 +0200 |
| commit | 8257d1778249f50efba08effed5a88b663d9fa4e (patch) | |
| tree | 11ca4d162c62ac42d4aa4d55d51b29a4b67f646b /plugin-dev-workspace.kdl | |
| download | sl0pstatus-8257d1778249f50efba08effed5a88b663d9fa4e.tar.gz sl0pstatus-8257d1778249f50efba08effed5a88b663d9fa4e.tar.xz sl0pstatus-8257d1778249f50efba08effed5a88b663d9fa4e.zip | |
feat: initial commit
Diffstat (limited to 'plugin-dev-workspace.kdl')
| -rw-r--r-- | plugin-dev-workspace.kdl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugin-dev-workspace.kdl b/plugin-dev-workspace.kdl new file mode 100644 index 0000000..ea46f46 --- /dev/null +++ b/plugin-dev-workspace.kdl @@ -0,0 +1,29 @@ +layout { + pane size=1 borderless=true { + plugin location="zellij:tab-bar" + } + pane split_direction="vertical" { + pane edit="src/main.rs" + pane { + pane stacked=true { + pane size="10%" command="bash" name="COMPILE AND RELOAD PLUGIN" { + args "-c" "watchexec 'cargo build && zellij action start-or-reload-plugin file:target/wasm32-wasi/debug/zjstatus.wasm'" + } + pane expanded=true { + plugin location="file:target/wasm32-wasi/debug/zjstatus.wasm" { + format "#[fg=CYAN] {mode} #[fg=WHITE] :: {tab} {space} #[fg=ORANGE,bg=GREEN] {date}" + + mode_normal_format "#[fg=BLUE,bg=NONE]>> normal" + mode_tmux_format "#[fg=ORANGE,bg=NONE]>> tmux" + + tab_format "#[fg=GRAY,bg=NONE] {name}" + tab_active_format "#[fg=WHITE,bg=NONE,bold] {name}" + } + } + } + } + } + pane size=2 borderless=true { + plugin location="zellij:status-bar" + } +} |
