diff --git a/CHANGELOGS.md b/CHANGELOGS.md index 0b1955a..4dfd3a8 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,8 @@ ## Changelogs +## 01 Jan 2025 +- Switched to download dots from KooL's Hyprland dots specific branch + ## 26 Dec 2024 - Removal of Bibata Ice cursor on assets since its integrated in the GTK Themes and Icons extract from a separate repo diff --git a/install-scripts/dotfiles-branch.sh b/install-scripts/dotfiles-branch.sh new file mode 100644 index 0000000..3d21eab --- /dev/null +++ b/install-scripts/dotfiles-branch.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# 💫 https://github.com/JaKooLit 💫 # +# Hyprland-Dots to download from main # + +#specific branch or release +dots_tag="Deb-Untu-old-v-Hyprland" + +## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## + +source "$(dirname "$(readlink -f "$0")")/Global_functions.sh" + +# Check if Hyprland-Dots exists +printf "${NOTE} Downloading KooL's Hyprland Dots for Debian....\n" + +if [ -d Hyprland-Dots-Debian ]; then + cd Hyprland-Dots-Debian + git stash + git pull + git stash apply + chmod +x copy.sh + ./copy.sh +else + if git clone --depth 1 -b $dots_tag https://github.com/JaKooLit/Hyprland-Dots Hyprland-Dots-Debian; then + cd Hyprland-Dots-Debian || exit 1 + chmod +x copy.sh + ./copy.sh + else + echo -e "$ERROR Can't download Hyprland-Dots-Debian" + fi +fi + +clear diff --git a/install.sh b/install.sh index d46f89d..85fb4f7 100755 --- a/install.sh +++ b/install.sh @@ -258,7 +258,7 @@ fi execute_script "InputGroup.sh" if [ "$dots" == "Y" ]; then - execute_script "dotfiles.sh" + execute_script "dotfiles-branch.sh" fi # Clean up