From 2561ad7aa684e276bf2997c13f8aae7d78e70fe9 Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 27 Oct 2022 21:15:40 +0200 Subject: [PATCH] Convert zellij development layout to kdl --- private_dot_config/zellij/development.kdl | 27 +++++++++++++ private_dot_config/zellij/development.yaml | 44 ---------------------- 2 files changed, 27 insertions(+), 44 deletions(-) create mode 100644 private_dot_config/zellij/development.kdl delete mode 100644 private_dot_config/zellij/development.yaml diff --git a/private_dot_config/zellij/development.kdl b/private_dot_config/zellij/development.kdl new file mode 100644 index 0000000..8b5d920 --- /dev/null +++ b/private_dot_config/zellij/development.kdl @@ -0,0 +1,27 @@ +layout { + default_tab_template { + pane size=1 borderless=true { + plugin location="zellij:tab-bar" + } + children + pane size=2 borderless=true { + plugin location="zellij:status-bar" + } + } + tab split_direction="Vertical" { + pane split_direction="Vertical" { + pane command="zsh" size="60%" { + args "-c" "sleep 1; hx --show-explorer; nu" + } + pane size="40%" split_direction="Horizontal" { + pane command="btm" size="20%" borderless=true { + args "--config" "/home/trivernis/.config/bottom/dev.toml" + } + pane size="80%" + } + } + } +} +scroll_buffer_size 10000 +copy_command "wl-copy" + diff --git a/private_dot_config/zellij/development.yaml b/private_dot_config/zellij/development.yaml deleted file mode 100644 index 5f0f28d..0000000 --- a/private_dot_config/zellij/development.yaml +++ /dev/null @@ -1,44 +0,0 @@ -copy_command: "wl-copy" -scroll_buffer_size: 10000 - -template: - direction: Horizontal - parts: - - direction: Vertical # part 1 - borderless: true - split_size: - Fixed: 1 - run: - plugin: - location: "zellij:tab-bar" - - direction: Vertical # part 2 - body: true - - direction: Vertical # part 3 - borderless: true - split_size: - Fixed: 2 - run: - plugin: - location: "zellij:status-bar" -tabs: - - name: "main" # tab 2 - direction: Vertical - parts: - - direction: Horizontal - split_size: - Percent: 60 - run: - command: {cmd: zsh, args: ["-c", "sleep 1; hx --show-explorer; nu"]} - - direction: Horizontal - split_size: - Percent: 40 - parts: - - direction: Vertical - borderless: true - split_size: - Percent: 20 - run: - command: {cmd: btm, args: ["--config", "/home/trivernis/.config/bottom/dev.toml"]} - - direction: Vertical - split_size: - Percent: 80