update: change wallpapers to my own
This commit is contained in:
parent
3e99847d8b
commit
efb387ef14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user