remove craps

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