ssimunic / Daily-Reddit-Wallpaper

Change your wallpaper to the most upvoted image of the day from /r/wallpapers or any other subreddit on system startup
http://ssimunic.github.io/Daily-Reddit-Wallpaper/
GNU General Public License v3.0
306 stars 51 forks source link

Script should not assume that the file is always jpg #30

Closed dolohow closed 6 years ago

jenroper commented 7 years ago

That might be a good point, however, I'm having trouble finding an image subreddit that doesn't have a jpg file for its top post. Could you point me to a test case?

dolohow commented 7 years ago

https://www.reddit.com/r/wallpapers/comments/6ygcbj/appa_1920x1200/

jenroper commented 7 years ago

It still sets your background to that image, but I see what you mean.

dolohow commented 7 years ago

It does not on KDE, just black screen.

jenroper commented 7 years ago

I think I've got it fixed on my fork, if you want to give it a try. Although, to warn, I updated the script to work with a newer version of praw. You need to register the script as app on your reddit account, and add your client id and client secret to the praw.ini file. Instructions are in the readme.

dolohow commented 6 years ago

I fixed it as well -> 07dcadb :)