Skip to content

a tool that syncs your walpaper with the album image of the currently playing music on your spotify

Notifications You must be signed in to change notification settings

toddync/Walpaperfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Walpaperfy

Walpaperfy is a simple tool that synchronizes your desktop wallpaper and terminal colorscheme with the album art of the currently playing track on Spotify.

Prerequisites

  • pywal: Used to set the background image and generate the colorscheme.
  • Wal Theme VsCode extension (optional): uses the colorscheme on vscode.

Setup

  1. Install the applicatin Just use cargo.

     cargo install walpaperfy

    Or clone the repo and build it.

    g4it clone https://github.com/toddync/Walpaperfy
    cd walpaperfy
    cargo build --release && cargo install --path .
  2. Register a Spotify App: Register a new application on Spotify's developer portal to obtain your Client ID and Client Secret. Add http://localhost as one of the redirect URIs for your app in the Spotify dashboard.

  3. Get the Refresh Token: To retrieve your refresh token:

    • Run the application with the --add-key tag, with your credentials from step 2.
    • Open the URL that appears in your terminal.
    • After being redirected, copy the code from the URL (the part after code=) and paste it back into the terminal. You'll then receive the refresh token to add to your env.rs file.
    walpaperfy --add-key

    The more api's you set, the better, but it runs smoothtly with only 3 for me. The code will switch between them to avoid the 13h wait time once you get rate-limited. To set more api's, just repeat the steps above.

  4. Run the Application:

     walpaperfy

    Your wallpaper will now automatically update with the album art of the song you're currently listening to on Spotify!

About

a tool that syncs your walpaper with the album image of the currently playing music on your spotify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages