mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
33 lines
796 B
Bash
33 lines
796 B
Bash
#!/bin/bash
|
|
# 💫 https://github.com/JaKooLit 💫 #
|
|
# Hyprland-Dots to download from main #
|
|
|
|
#specific branch or release
|
|
dots_tag="Deb-Untu-Dots"
|
|
|
|
## 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
|