From efb387ef14dceba5b46bb9958c3a80e5e2ea73c9 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 22 May 2024 00:19:43 -0400 Subject: [PATCH] update: change wallpapers to my own --- .install/wallpaper.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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