From 63979d635c439d690ff4960b03ac1e836ad020a4 Mon Sep 17 00:00:00 2001 From: zoli Date: Mon, 22 Dec 2025 20:04:36 +0100 Subject: [PATCH] Update install.sh --- install.sh | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/install.sh b/install.sh index 5f6b2ae..30b7337 100644 --- a/install.sh +++ b/install.sh @@ -1,10 +1,11 @@ #!/bin/bash -echo "Creating .bashrc backup" +steps="10" +echo "[1/${steps}] Creating .bashrc backup" cp ~/.bashrc ~/.bashrc_backup -echo "Adding aliases and zoxide to bashrc" +echo "[2/${steps}] Adding aliases and zoxide to bashrc" echo "alias ls='lsd -a --tree --depth 1'" >> ~./bashrc echo "alias cat='batcat'" >> ~./bashrc echo "alias up='docker-compose up -d'" >> ~./bashrc @@ -15,14 +16,22 @@ echo "alias cd='z' " >> ~./bashrc echo "alias ff='fastfetch'" >> ~./bashrc -echo "Creating Kitty config folders" +echo "[3/${steps}] Creating Kitty config folders" mkdir -p ~/.config/kitty if [ -e ~/.config/kitty/kitty.conf ] then - echo "Kitty config file exists, creating backup" + echo "[4/${steps}] kitty.conf exists, creating backup" cp ~/.config/kitty/kitty_backup.conf - -else - fi +echo "[4/${steps}] Downloading Kitty config" +curl http://192.168.0.187:3000/zoli/linux-configs/raw/branch/main/kitty.conf -o ~/.config/kitty/kitty.conf + + +if [ -e ~/.config/kitty/theme.conf ] +then + echo "[4/${steps}] Kitty theme.conf file exists, creating backup" + cp ~/.config/kitty/theme_backup.conf +fi +echo "[4/${steps}] Downloading Kitty config" +curl http://192.168.0.187:3000/zoli/linux-configs/raw/branch/main/theme.conf -o ~/.config/kitty/theme.conf