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-08-28 21:12:41 +02:00
parent 5d04442236
commit 91888a1cdb
10 changed files with 52 additions and 48 deletions

View file

@ -6,7 +6,7 @@ layout {
} }
} }
cwd "/home/mo/code/hosted/advlabdb" cwd "/home/mo8it/code/hosted/advlabdb"
tab name="git" { tab name="git" {
pane { pane {

View file

@ -6,13 +6,13 @@ layout {
} }
} }
cwd "/home/mo/code/collective-score" cwd "/home/mo8it/code/hosted/collective-score"
tab name="hx" split_direction="vertical" focus=true { tab name="hx" split_direction="vertical" focus=true {
pane { pane {
focus true focus true
cwd "crates"
command "fish" command "fish"
args "-C" "hx"
close_on_exit true close_on_exit true
} }
pane { pane {
@ -26,5 +26,11 @@ layout {
close_on_exit true 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/mo8it/.tmp/cs_server_db:/var/lib/postgresql/data:Z" "--env-file" "crates/server/.env" "docker.io/library/postgres:15-alpine"
}
}
} }

View file

@ -0,0 +1,31 @@
layout {
default_tab_template {
children
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
cwd "/home/mo8it/code/hosted/dev_tools"
tab name="hx" split_direction="vertical" focus=true {
pane {
focus true
cwd "src"
command "fish"
args "-C" "hx ."
close_on_exit true
}
}
tab name="git" split_direction="vertical" {
pane {
command "gitui"
}
}
tab name="mdbook" split_direction="vertical" {
pane {
command "mdbook"
args "serve"
}
}
}

View file

@ -1,33 +0,0 @@
layout {
default_tab_template {
children
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
cwd "/home/mo/code/hosted/how_to_linux"
tab name="git" {
pane {
command "fish"
args "-c" "gitui"
close_on_exit true
}
}
tab name="hx" focus=true {
pane {
cwd "src"
command "fish"
args "-c" "hx"
close_on_exit true
}
}
tab name="mdbook" {
pane {
command "fish"
args "-c" "mdbook serve"
close_on_exit true
}
}
}

View file

@ -6,7 +6,7 @@ layout {
} }
} }
cwd "/home/mo/code/info_monitor" cwd "/home/mo8it/code/info_monitor"
tab name="hx" split_direction="vertical" focus=true { tab name="hx" split_direction="vertical" focus=true {
pane { pane {
@ -29,7 +29,7 @@ layout {
tab name="bg" split_direction="vertical"{ tab name="bg" split_direction="vertical"{
pane { pane {
command "podman" command "podman"
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo/.tmp/info_monitor_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine" args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/info_monitor_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
} }
pane { pane {
command "npx" command "npx"

View file

@ -6,7 +6,7 @@ layout {
} }
} }
cwd "/home/mo/code/hosted/oxiform" cwd "/home/mo8it/code/hosted/oxiform"
tab name="hx" split_direction="vertical" focus=true { tab name="hx" split_direction="vertical" focus=true {
pane { pane {
@ -29,7 +29,7 @@ layout {
tab name="bg" split_direction="vertical"{ tab name="bg" split_direction="vertical"{
pane { pane {
command "podman" command "podman"
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo/.tmp/oxiform_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine" args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxiform_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
} }
pane { pane {
command "npx" command "npx"

View file

@ -6,7 +6,7 @@ layout {
} }
} }
cwd "/home/mo/code/hosted/oxitraffic" cwd "/home/mo8it/code/hosted/oxitraffic"
tab name="hx" split_direction="vertical" focus=true { tab name="hx" split_direction="vertical" focus=true {
pane { pane {
@ -29,7 +29,7 @@ layout {
tab name="bg" split_direction="vertical"{ tab name="bg" split_direction="vertical"{
pane { pane {
command "podman" 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" args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxitraffic_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
} }
pane { pane {
command "just" command "just"

View file

@ -6,7 +6,7 @@ layout {
} }
} }
cwd "/home/mo/code/pgp" cwd "/home/mo8it/code/pgp"
tab name="jupyterlab" focus=true { tab name="jupyterlab" focus=true {
pane { pane {

View file

@ -25,20 +25,20 @@ layout {
args "-c" "rustup update stable && cargo install-update -a" args "-c" "rustup update stable && cargo install-update -a"
} }
pane { pane {
cwd "/home/mo/code/compile/helix" cwd "/home/mo8it/code/compile/helix"
command "fish" command "fish"
args "-c" "git pull -r && cargo +stable install --path helix-term" args "-c" "git pull -r origin master && cargo +stable install --path helix-term --locked"
} }
} }
pane split_direction="vertical" { pane split_direction="vertical" {
pane { pane {
cwd "/home/mo/servers/ansible" cwd "/home/mo8it/servers/ansible"
command "ansible-playbook" command "ansible-playbook"
args "playbooks/update_dnf.yaml" args "playbooks/update_dnf.yaml"
} }
pane { pane {
cwd "/home/mo/servers/ansible" cwd "/home/mo8it/servers/ansible"
command "ansible-playbook" command "ansible-playbook"
args "playbooks/update_apt.yaml" args "playbooks/update_apt.yaml"
} }

View file

@ -6,7 +6,7 @@ layout {
} }
} }
cwd "/home/mo/code/hosted/mo8it.com" cwd "/home/mo8it/code/hosted/mo8it.com"
tab name="hx" split_direction="vertical" focus=true { tab name="hx" split_direction="vertical" focus=true {
pane { pane {