Downloads a random photo from unsplash.com using the QUERY env var and sets it as a desktop wallpaper in Gnome environment.
You must provide an API_KEYS in .env var or node environment for this to work. Check Official doc on how to get it.
You may want to add a cron job to change wallpaper every day.
git clone https://github.com/sdwvit/gnome-unsplasher.git
cd gnome-unsplasher
- for the cron job, I recommend doing
echo "cd $(pwd); npm start" > gnome-unsplasher && chmod +x ./gnome-unsplasher && sudo ln -s $(pwd)/gnome-unsplasher /etc/cron.daily/gnome-unsplasher
npm install
cp ./.env-example ./.env
nano ./.env
to add path for storing downloaded photos, and also a querynpm start
to see if it works