1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-29 03:33:42 +00:00
dotfiles/.config/zellij/layouts/update.kdl

51 lines
1.4 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 "rpm-ostree"
args "upgrade"
}
pane {
focus true
command "fish"
args "-c" "flatpak update -y && flatpak uninstall --delete-data --unused"
}
}
pane split_direction="vertical" {
pane {
command "fish"
args "-c" "rustup update stable && cargo install-update -a"
}
pane {
cwd "/home/mo/code/compile/helix"
command "fish"
args "-c" "git pull -r && cargo +stable install --path helix-term"
}
}
pane split_direction="vertical" {
pane {
cwd "/home/mo/servers/ansible"
command "ansible-playbook"
args "playbooks/update_dnf.yaml"
}
pane {
cwd "/home/mo/servers/ansible"
command "ansible-playbook"
args "playbooks/update_apt.yaml"
}
pane {
command "pipx"
args "upgrade-all"
}
}
}
}