diff --git a/.install/wallpaper.sh b/.install/wallpaper.sh index ecd8dc2..aefe1c2 100644 --- a/.install/wallpaper.sh +++ b/.install/wallpaper.sh @@ -5,16 +5,17 @@ echo -e "${GREEN}" figlet "Wallpapers" echo -e "${NONE}" if [ ! -d ~/wallpaper ]; then - echo "Do you want to download the wallpapers from repository https://gitlab.com/stephan-raabe/wallpaper/ ?" + echo "Do you want to download the wallpapers from repository https://gitea.phywyj.dynv6.net/wyj/wallpaper.git ?" echo "If not, the script will install 3 default wallpapers in ~/wallpaper/" echo "" if gum confirm "Do you want to download the repository?" ;then - wget -P ~/Downloads/ https://gitlab.com/stephan-raabe/wallpaper/-/archive/main/wallpaper-main.zip - unzip -o ~/Downloads/wallpaper-main.zip -d ~/Downloads/ - if [ ! -d ~/wallpaper/ ]; then - mkdir ~/wallpaper - fi - cp ~/Downloads/wallpaper-main/* ~/wallpaper/ + # wget -P ~/Downloads/ https://gitlab.com/stephan-raabe/wallpaper/-/archive/main/wallpaper-main.zip + # unzip -o ~/Downloads/wallpaper-main.zip -d ~/Downloads/ + # if [ ! -d ~/wallpaper/ ]; then + # mkdir ~/wallpaper + # fi + # cp ~/Downloads/wallpaper-main/* ~/wallpaper/ + git clone https://gitea.phywyj.dynv6.net/wyj/wallpaper.git ~/wallpaper echo "Wallpapers from the repository installed successfully." elif [ $? -eq 130 ]; then exit 130