1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Update Zellij layouts

This commit is contained in:
Mo 2023-06-25 20:57:16 +02:00
parent a2f08f9175
commit 72b56e7713
6 changed files with 133 additions and 62 deletions

View file

@ -0,0 +1,33 @@
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

@ -0,0 +1,40 @@
layout {
default_tab_template {
children
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
cwd "/home/mo/code/info_monitor"
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" "--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"
}
pane {
command "npx"
args "tailwindcss" "-mw" "-i" "input.css" "-o" "static/main.css"
}
}
}

View file

@ -16,9 +16,7 @@ layout {
close_on_exit true
}
pane {
command "fish"
args "-C" "bacon"
close_on_exit true
command "bacon"
}
}
tab name="git" split_direction="vertical" {
@ -30,14 +28,12 @@ layout {
}
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
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"
}
pane {
command "fish"
args "-C" "npx tailwindcss -mw -i input.css -o static/main.css"
close_on_exit true
command "npx"
args "tailwindcss" "-mw" "-i" "input.css" "-o" "static/main.css"
}
}
}

View file

@ -6,19 +6,13 @@ layout {
}
}
cwd "/home/mo/Downloads/pgp"
cwd "/home/mo/code/pgp"
tab name="jupyterlab" focus=true {
pane {
focus true
command "fish"
args "-c" "./container.fish"
close_on_exit true
}
}
tab name="shell" {
pane {
command "fish"
close_on_exit true
}
}
}

View file

@ -1,49 +1,59 @@
layout {
pane split_direction="vertical" {
pane {
command "fish"
args "-c" "~/.scripts/update.py rpm-ostree"
close_on_exit true
}
pane focus=true {
command "fish"
args "-c" "~/.scripts/update.py flatpak"
close_on_exit true
default_tab_template {
children
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
pane split_direction="vertical" {
pane {
command "fish"
args "-c" "~/.scripts/update.py cargo"
close_on_exit true
tab name="update" split_direction="horizontal" focus=true {
pane split_direction="vertical" {
pane {
command "fish"
args "-c" "~/.scripts/update.py rpm-ostree"
close_on_exit true
}
pane {
focus true
command "fish"
args "-c" "~/.scripts/update.py flatpak"
close_on_exit true
}
}
pane {
cwd "/home/mo/code/compile/helix"
command "fish"
args "-c" "git pull -r && cargo +stable install --path helix-term"
close_on_exit true
}
}
pane split_direction="vertical" {
pane {
cwd "/home/mo/servers/ansible"
command "fish"
args "-c" "ansible-playbook playbooks/update_dnf.yaml; read -P Enter"
close_on_exit true
pane split_direction="vertical" {
pane {
command "fish"
args "-c" "~/.scripts/update.py cargo"
close_on_exit true
}
pane {
cwd "/home/mo/code/compile/helix"
command "fish"
args "-c" "git pull -r && cargo +stable install --path helix-term"
close_on_exit true
}
}
pane {
cwd "/home/mo/servers/ansible"
command "fish"
args "-c" "ansible-playbook playbooks/update_apt.yaml; read -P Enter"
close_on_exit true
}
pane {
cwd "/home/mo/servers/ansible"
command "fish"
args "-c" "ansible-playbook playbooks/update_local.yaml"
close_on_exit true
pane split_direction="vertical" {
pane {
cwd "/home/mo/servers/ansible"
command "fish"
args "-c" "ansible-playbook playbooks/update_dnf.yaml; read -P Enter"
close_on_exit true
}
pane {
cwd "/home/mo/servers/ansible"
command "fish"
args "-c" "ansible-playbook playbooks/update_apt.yaml; read -P Enter"
close_on_exit true
}
pane {
cwd "/home/mo/servers/ansible"
command "fish"
args "-c" "ansible-playbook playbooks/update_local.yaml"
close_on_exit true
}
}
}
}

View file

@ -25,14 +25,12 @@ layout {
}
tab name="bg" split_direction="vertical"{
pane {
command "fish"
args "-C" "zola serve --open --drafts"
close_on_exit true
command "just"
args "zola"
}
pane {
command "fish"
args "-C" "npx tailwindcss -mw -i input.css -o static/main.css"
close_on_exit true
command "just"
args "tailwind"
}
}
}