Skip to content

sdwvit/gnome-unsplasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gnome-unsplasher

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.

Installation

  1. git clone https://github.com/sdwvit/gnome-unsplasher.git
  2. cd gnome-unsplasher
  3. 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
  4. npm install
  5. cp ./.env-example ./.env
  6. nano ./.env to add path for storing downloaded photos, and also a query
  7. npm start to see if it works

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published