1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00
dotfiles/.config/zellij/layouts/update.kdl

52 lines
1.4 KiB
Text
Raw Normal View History

2022-10-29 09:25:23 +00:00
layout {
2023-06-25 18:57:16 +00:00
default_tab_template {
children
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
2022-12-22 21:05:58 +00:00
}
2022-10-29 09:25:23 +00:00
}
2022-12-22 21:05:58 +00:00
2023-06-25 18:57:16 +00:00
tab name="update" split_direction="horizontal" focus=true {
pane split_direction="vertical" {
pane {
2023-06-25 20:27:35 +00:00
command "rpm-ostree"
args "upgrade"
2023-06-25 18:57:16 +00:00
}
pane {
focus true
command "fish"
2023-06-29 13:20:48 +00:00
args "-c" "flatpak update -y && flatpak uninstall --delete-data --unused"
2023-06-25 18:57:16 +00:00
}
2022-12-22 21:05:58 +00:00
}
2023-06-25 18:57:16 +00:00
pane split_direction="vertical" {
pane {
command "fish"
2023-06-25 20:27:35 +00:00
args "-c" "rustup update stable && cargo install-update -a"
2023-06-25 18:57:16 +00:00
}
pane {
2023-08-28 19:12:41 +00:00
cwd "/home/mo8it/code/compile/helix"
2023-06-25 18:57:16 +00:00
command "fish"
2023-08-28 19:12:41 +00:00
args "-c" "git pull -r origin master && cargo +stable install --path helix-term --locked"
2023-06-25 18:57:16 +00:00
}
2022-12-22 21:05:58 +00:00
}
2023-06-25 18:57:16 +00:00
pane split_direction="vertical" {
pane {
2023-08-28 19:12:41 +00:00
cwd "/home/mo8it/servers/ansible"
2023-06-25 20:27:35 +00:00
command "ansible-playbook"
args "playbooks/update_dnf.yaml"
2023-06-25 18:57:16 +00:00
}
pane {
2023-08-28 19:12:41 +00:00
cwd "/home/mo8it/servers/ansible"
2023-06-25 20:27:35 +00:00
command "ansible-playbook"
args "playbooks/update_apt.yaml"
2023-06-25 18:57:16 +00:00
}
pane {
2023-06-25 20:27:35 +00:00
command "pipx"
args "upgrade-all"
2023-06-25 18:57:16 +00:00
}
2022-12-22 21:05:58 +00:00
}
2022-10-29 09:25:23 +00:00
}
}