From ebc745888043c014c3eca43f70acaf6b87091013 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sat, 23 Apr 2022 23:09:21 +0200 Subject: [PATCH] Use xonsh update script --- .config/kitty/up.session | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.config/kitty/up.session b/.config/kitty/up.session index 0b02f53..01aa421 100644 --- a/.config/kitty/up.session +++ b/.config/kitty/up.session @@ -1,13 +1,8 @@ layout vertical -launch fish -C "rpm-ostree upgrade; read -s -n 1 -P 'Press any key to exit' > /dev/null && exit" - -launch fish -C "flatpak update -y && flatpak remove --delete-data --unused; read -s -n 1 -P 'Press any key to exit' > /dev/null && exit" - -launch fish -c "nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'" - -launch fish -c "cargo install-update -a" - -launch fish -c "pipx upgrade-all" - -launch fish -c "npm update -g" +launch bash -c "xonsh ~/.scripts/update.xsh rpm-ostree" +launch bash -c "xonsh ~/.scripts/update.xsh flatpak" +launch bash -c "xonsh ~/.scripts/update.xsh pipx" +launch bash -c "xonsh ~/.scripts/update.xsh cargo" +launch bash -c "xonsh ~/.scripts/update.xsh npm" +launch bash -c "xonsh ~/.scripts/update.xsh nvim"