Skip to content

Uses Unsplash API to get a random landscape photo with a search term and sets it to the desktop background for GNOME v3+

Notifications You must be signed in to change notification settings

Mattrcarey/Background_Changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Background_Changer

This python script gets a random landscape photo by search term and sets it to the desktop background.

Dependancies

linux distributions that uses GNOME v3+
Unsplash API access
Python3

Usage

  • Set ACCESS_KEY in BackgroundChanger.py to your unsplash api access key
  • Set searchTerm in BackgroundChanger.py to your chosen searchTerm
    • Empty string for a truely random photo
    • For multiple search terms separate by (,) e.g. 'cats,dogs'
    • Use (-) instead of spaces e.g. 'snowy-mountain'
  • Set Path in BackgroundChanger.py to choose the path where the photo will be saved
    • Do not add a trailing slash e.g. '/home/matt/BackgroundPhoto'
  • run with command python3 BackgroundChanger.py

About

Uses Unsplash API to get a random landscape photo with a search term and sets it to the desktop background for GNOME v3+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages