update dotfiles.sh script
This commit is contained in:
@@ -15,11 +15,19 @@ LOG="install-$(date +'%d-%H%M%S')_dots.log"
|
|||||||
|
|
||||||
printf "${NOTE} Downloading Hyprland dots...\n"
|
printf "${NOTE} Downloading Hyprland dots...\n"
|
||||||
|
|
||||||
|
if [ -d Hyprland-Dots ]; then
|
||||||
|
cd Hyprland-Dots
|
||||||
|
chmod +x copy.sh
|
||||||
|
./copy.sh 2>&1 | tee -a "$LOG"
|
||||||
|
else
|
||||||
if git clone https://github.com/JaKooLit/Hyprland-Dots.git; then
|
if git clone https://github.com/JaKooLit/Hyprland-Dots.git; then
|
||||||
cd Hyprland-Dots || exit 1
|
cd Hyprland-Dots || exit 1
|
||||||
chmod +x copy.sh
|
chmod +x copy.sh
|
||||||
./copy.sh 2>&1 | tee -a "$LOG"
|
./copy.sh 2>&1 | tee -a "$LOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Cant download Hyprland-Dots" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Can't download Hyprland-Dots" 2>&1 | tee -a "$LOG"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user