Compare commits

...
2 Commits
Author SHA1 Message Date
pi-ux-ce b88c855287 remove craps 2024-10-22 11:31:21 +01:00
pi-ux-ce f08040b0d9 use new API settings 2024-10-22 11:30:33 +01:00
+6 -7
View File
@@ -10,15 +10,14 @@ 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 url=$(curl https://api.unsplash.com/photos/random\?client_id\=sqNEPALHnwDAScQe7uA-l_1HDYH_XCHgCg3xLha47fA | jq -r '.urls.raw')
# https://source.unsplash.com/ #download the file
#wget -O $PWD/wallpaper.jpg https://source.unsplash.com/collection/630950/1920x1200 wget -O $PWD/wallpaper.jpg $url
wget -O $PWD/wallpaper.jpg https://source.unsplash.com/1920x1200/\?stars,nature,sea,wather
# 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
gsettings set org.gnome.desktop.screensaver picture-uri file://$PWD/wallpaper.jpg #gsettings set org.gnome.desktop.screensaver picture-uri file://$PWD/wallpaper.jpg
gsettings set org.gnome.desktop.background picture-uri file://$PWD/wallpaper.jpg #gsettings set org.gnome.desktop.background picture-uri file://$PWD/wallpaper.jpg