Changes desktop background image according to the last song scrobbled by a last.fm user.
git clone https://github.com/undead404/song-background-image.git
&& cd song-background-image
API_KEY={your api key}
(request it here)
API_SECRET={your api secret}
(corresponding to your API_KEY)
LASTFM_USERNAME={your last.fm username}
# pip3 install -r requirements.txt
$ crontab -e
I set the script to change my background image every minute:
* * * * * /usr/bin/python3/ /home/undead404/projects/song-background-image/root.py >> /home/undead404/projects/song-background-image/log.txt