diff --git a/.config/zellij/layouts/advlabdb.kdl b/.config/zellij/layouts/advlabdb.kdl index 9754901..ddea6fe 100644 --- a/.config/zellij/layouts/advlabdb.kdl +++ b/.config/zellij/layouts/advlabdb.kdl @@ -11,7 +11,7 @@ layout { tab name="git" { pane { command "fish" - args "-c" "gu" + args "-c" "gitui" close_on_exit true } } diff --git a/.config/zellij/layouts/default.kdl b/.config/zellij/layouts/default.kdl index b3f43ee..c3b04a2 100644 --- a/.config/zellij/layouts/default.kdl +++ b/.config/zellij/layouts/default.kdl @@ -5,22 +5,4 @@ layout { plugin location="zellij:compact-bar" } } - - swap_tiled_layout name="vertical" { - tab max_panes=6 { - pane split_direction="vertical" { - pane - pane { children; } - } - } - } - - swap_tiled_layout name="stacked" { - tab { - pane split_direction="vertical" { - pane - pane stacked=true { children; } - } - } - } } diff --git a/.config/zellij/layouts/default.swap.kdl b/.config/zellij/layouts/default.swap.kdl new file mode 100644 index 0000000..9c9d644 --- /dev/null +++ b/.config/zellij/layouts/default.swap.kdl @@ -0,0 +1,20 @@ +swap_tiled_layout name="vertical" { + tab max_panes=5 { + pane split_direction="vertical" { + pane + pane { children; } + } + } +} + +swap_tiled_layout name="stacked" { + tab { + pane split_direction="vertical" { + pane + pane { + pane + pane stacked=true { children; } + } + } + } +} diff --git a/.config/zellij/layouts/how_to_linux.kdl b/.config/zellij/layouts/how_to_linux.kdl index 6e85009..622726a 100644 --- a/.config/zellij/layouts/how_to_linux.kdl +++ b/.config/zellij/layouts/how_to_linux.kdl @@ -11,7 +11,7 @@ layout { tab name="git" { pane { command "fish" - args "-c" "gu" + args "-c" "gitui" close_on_exit true } } diff --git a/.config/zellij/layouts/oxiform.kdl b/.config/zellij/layouts/oxiform.kdl new file mode 100644 index 0000000..6fa16ab --- /dev/null +++ b/.config/zellij/layouts/oxiform.kdl @@ -0,0 +1,50 @@ +layout { + default_tab_template { + children + pane size=1 borderless=true { + plugin location="zellij:compact-bar" + } + } + + cwd "/home/mo/code/hosted/oxiform" + + 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 "fish" + args "-C" "bacon" + close_on_exit true + } + } + tab name="git" split_direction="vertical" { + pane { + command "fish" + args "-C" "gitui" + close_on_exit true + } + } + tab name="bg" split_direction="vertical"{ + pane { + command "fish" + args "-C" "podman run -it --rm -p 5432:5432 --env-file .env docker.io/library/postgres:15-alpine" + close_on_exit true + } + pane { + command "fish" + args "-C" "npx tailwindcss -mw -i input.css -o static/main.css" + close_on_exit true + } + } + tab name="run" split_direction="vertical" { + pane { + command "fish" + close_on_exit true + } + } +} + diff --git a/.config/zellij/layouts/oxiform.swap.kdl b/.config/zellij/layouts/oxiform.swap.kdl new file mode 120000 index 0000000..8c86791 --- /dev/null +++ b/.config/zellij/layouts/oxiform.swap.kdl @@ -0,0 +1 @@ +/var/home/mo/.dotfiles/.config/zellij/layouts/default.swap.kdl \ No newline at end of file diff --git a/.config/zellij/layouts/website.kdl b/.config/zellij/layouts/website.kdl new file mode 100644 index 0000000..bb294be --- /dev/null +++ b/.config/zellij/layouts/website.kdl @@ -0,0 +1,45 @@ +layout { + default_tab_template { + children + pane size=1 borderless=true { + plugin location="zellij:compact-bar" + } + } + + cwd "/home/mo/code/hosted/mo8it.com" + + tab name="hx" split_direction="vertical" focus=true { + pane { + focus true + command "fish" + args "-C" "hx" + close_on_exit true + } + } + tab name="git" split_direction="vertical" { + pane { + command "fish" + args "-C" "gitui" + close_on_exit true + } + } + tab name="bg" split_direction="vertical"{ + pane { + command "fish" + args "-C" "zola serve" + close_on_exit true + } + pane { + command "fish" + args "-C" "npx tailwindcss -mw -i input.css -o static/main.css" + close_on_exit true + } + } + tab name="run" split_direction="vertical" { + pane { + command "fish" + close_on_exit true + } + } +} + diff --git a/.config/zellij/layouts/website.swap.kdl b/.config/zellij/layouts/website.swap.kdl new file mode 120000 index 0000000..8c86791 --- /dev/null +++ b/.config/zellij/layouts/website.swap.kdl @@ -0,0 +1 @@ +/var/home/mo/.dotfiles/.config/zellij/layouts/default.swap.kdl \ No newline at end of file