From 8d38f5a520279c1da4fcdd8de09db7b357f0e05a Mon Sep 17 00:00:00 2001 From: mo8it Date: Thu, 27 Jul 2023 16:27:23 +0200 Subject: [PATCH] Add oxitraffic layout --- .config/zellij/layouts/oxitraffic.kdl | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .config/zellij/layouts/oxitraffic.kdl diff --git a/.config/zellij/layouts/oxitraffic.kdl b/.config/zellij/layouts/oxitraffic.kdl new file mode 100644 index 0000000..843e46a --- /dev/null +++ b/.config/zellij/layouts/oxitraffic.kdl @@ -0,0 +1,40 @@ +layout { + default_tab_template { + children + pane size=1 borderless=true { + plugin location="zellij:compact-bar" + } + } + + cwd "/home/mo/code/hosted/oxitraffic" + + tab name="hx" split_direction="vertical" focus=true { + pane { + focus true + command "fish" + args "-C" "hx src/main.rs" + close_on_exit true + } + pane { + command "bacon" + } + } + tab name="git" split_direction="vertical" { + pane { + command "fish" + args "-C" "gitui" + close_on_exit true + } + } + tab name="bg" split_direction="vertical"{ + pane { + command "podman" + args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo/.tmp/oxitraffic_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine" + } + pane { + command "just" + args "tailwind" + } + } +} +