Compare commits

...
3 Commits
Author SHA1 Message Date
pi-ux-ce 44877c0b5f fix the parsing 2024-11-18 21:13:04 +00:00
pi-ux-ce 4369d8b6b0 forgot to enable the apply settings 2024-10-22 11:43:37 +01:00
pi-ux-ce 128b7a8bf8 add the keywords 2024-10-22 11:39:18 +01:00
+3 -4
View File
@@ -11,13 +11,12 @@ PWD=$(dirname $(readlink -f $0))
# here are some other ways of downloading wallpaper # here are some other ways of downloading wallpaper
#get random photo #get random photo
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\&count\=1\&query\="tree,stars,nature,sea,weather"| jq -r '.[].urls.full')
#download the file #download the file
wget -O $PWD/wallpaper.jpg $url 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
#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