1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-30 19:03:44 +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 {
cwd "/home/mo/code/compile/helix"
command "fish"
args "-c" "git pull -r && cargo +stable install --path helix-term"
}
2022-12-22 21:05:58 +00:00
}
2023-06-25 18:57:16 +00:00
pane split_direction="vertical" {
pane {
cwd "/home/mo/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 {
cwd "/home/mo/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
}
}