1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Update Zellij layouts

This commit is contained in:
Mo 2023-03-25 13:59:57 +01:00
parent ec985935fd
commit 5c3985283a
8 changed files with 119 additions and 20 deletions

View file

@ -11,7 +11,7 @@ layout {
tab name="git" {
pane {
command "fish"
args "-c" "gu"
args "-c" "gitui"
close_on_exit true
}
}

View file

@ -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; }
}
}
}
}

View file

@ -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; }
}
}
}
}

View file

@ -11,7 +11,7 @@ layout {
tab name="git" {
pane {
command "fish"
args "-c" "gu"
args "-c" "gitui"
close_on_exit true
}
}

View file

@ -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
}
}
}

View file

@ -0,0 +1 @@
/var/home/mo/.dotfiles/.config/zellij/layouts/default.swap.kdl

View file

@ -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
}
}
}

View file

@ -0,0 +1 @@
/var/home/mo/.dotfiles/.config/zellij/layouts/default.swap.kdl