remove craps

This commit is contained in:
2024-10-22 11:31:21 +01:00
parent f08040b0d9
commit b88c855287
+5 -9
View File
@@ -10,16 +10,12 @@ PWD=$(dirname $(readlink -f $0))
# here are some other ways of downloading wallpaper # here are some other ways of downloading wallpaper
# https://picsum.photos/ #get random photo
#wget -O $PWD/wallpaper.jpg https://unsplash.it/1920/1200/\?random
# https://source.unsplash.com/
#wget -O $PWD/wallpaper.jpg https://source.unsplash.com/collection/630950/1920x1200
#wget -O $PWD/wallpaper.jpg https://source.unsplash.com/1920x1200/\?stars,nature,sea,wather
url=$(curl https://api.unsplash.com/photos/random\?client_id\=sqNEPALHnwDAScQe7uA-l_1HDYH_XCHgCg3xLha47fA | jq -r '.urls.raw') url=$(curl https://api.unsplash.com/photos/random\?client_id\=sqNEPALHnwDAScQe7uA-l_1HDYH_XCHgCg3xLha47fA | jq -r '.urls.raw')
wget -O $PWD/wallpaper.jpg $url
#download the file
wget -O $PWD/wallpaper.jpg $url
# setting wallpaper as background for screensaver # setting wallpaper as background for screensaver
# http://youness.net/linux/set-random-wallpapers-unsplash-com-ubuntu # http://youness.net/linux/set-random-wallpapers-unsplash-com-ubuntu