Skip to content

A chromecast-like wallpaper changer app using UnSplash API for GNome based linux distros that support GIO library.

Notifications You must be signed in to change notification settings

Tahfimul/WallChanger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

WallChanger

A chromecast-like wallpaper changer app using UnSplash API for GNome based linux distros that support GIO library.

To use the app:

  1. Get API key from UnSplash : https://api.unsplash.com/
  2. git clone this repository
  3. Make edits indicated in source code
  4. Execute python script using python3
  5. Just like that a new wallpaper is installed on your machine!

Here's how the app works:

  1. On execute

  2. Retrieves Background Img Link
    a. Call UnSplash API URL : 'https://api.unsplash.com/search/photos? page='+PAGE_NUM+'&query='+QUERY_TERM+'&client_id='+self.client_id
    b. Extract Randomly Picked Img Link

  3. Downloads Img using Img Link
    a. Using subprocess python library
       i. Uses "curl -o filename IMG_URL" to download image
    b. Using gio python library
       i. Sets background image

About

A chromecast-like wallpaper changer app using UnSplash API for GNome based linux distros that support GIO library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages