mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-10-17 20:52:40 +00:00
59 lines
1.8 KiB
Text
59 lines
1.8 KiB
Text
layout {
|
|
default_tab_template {
|
|
children
|
|
pane size=1 borderless=true {
|
|
plugin location="zellij:compact-bar"
|
|
}
|
|
}
|
|
|
|
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 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 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
|
|
}
|
|
}
|
|
}
|
|
}
|