Home

Awesome

SpotifySyncWall

Currently Playing Spotify Song As Wallpaper only for Gnome Desktop

Once you stop the script, the wallpaper will be reset to the default one.

NOTE: if you wanna contribute, please, read the CONTRIBUTING.md file.

Images

There are 6 modes: Album Cover, Gradient (up-down and center-out), Blurred, Waveform, Controller and Lyric card. From now, you can choose which one to use by setting them using the settings command in the CLI. Here are some examples:

Album Cover mode

Gradient mode

Blurred mode

Waveform mode

Gradient mode from the center

Controller mode

Lyric card mode

Usage

  1. Download the repo
  2. Run pip install -r requirements.txt in terminal to install dependencies
  3. Start listening to music on Spotify
  4. Create and fill 'creds.txt' in the main directory (more info below)
  5. Run src/main.py file
  6. Log in if web page comes up
  7. Copy link of web page after signing in and paste into terminal
  8. Enjoy!

creds.txt

Create a file called creds.txt in the main directory and fill it with the following:

client_id = your_client_id
client_secret = your_client_secret
spot_username = your_spotify_username

How to get client_id and client_secret

  1. Go to https://developer.spotify.com/dashboard/applications
  2. Log in with your Spotify account
  3. Select 'Create an app'
  4. Choose a name and description for your app, then click 'Create'
  5. Click con 'Edit Settings' and set 'https://www.google.com/' as new redirect URI, then Save
  6. In the app page, copy the Client ID and Client Secret and paste them in the creds.txt file
  7. Write your Spotify username in the creds.txt file
  8. Save the file

Note on display dimension

Script automatically retrieve display dimension, using the first available in xrandr: if your system doesn't have xrandr installed, you can:

TODO

Short term

Medium term

Long term