index : dotfiles.git

ascending towards madness

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 name="README" cwd="./" {
        pane name="helix" command="hx" {
            args "./README.md"
        }
    }
    tab name="Code" focus=true cwd="./" {
        pane name="helix" command="hx" {
            args "./"
        }
    }
    tab name="Cargo" cwd="./target" {
        pane split_direction="horizontal" {
            pane name="cargo" command="cargo" {
                args "watch" "-q" "-c" "-w" "src/" "-x" "run"
            }
            pane name="shell" size="20%" {}
        }
    }
    tab name="Git" cwd="./" {
        pane borderless=true command="lazygit" {}
    }
}