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

54 lines
1.5 KiB
Text

layout {
default_tab_template {
children
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
tab 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 self update && rustup update beta && cargo install-update -a"
}
pane {
cwd "/home/mo8it/code/compile/helix"
command "fish"
args "-c" "git pull -r origin master && cargo +beta install --path helix-term --locked"
}
}
pane split_direction="vertical" {
pane {
command "ssh"
args "minisforum" "fish" "sync/scripts/update.fish"
}
pane {
command "ssh"
args "forwarder" "sudo" "./update.sh"
}
pane {
cwd "/home/mo8it/servers/ansible"
command "ansible-playbook"
args "playbooks/update_apt.yaml"
}
pane {
command "pipx"
args "upgrade-all"
}
}
}
}