Releases: markubiak/wallpaper-reddit
Minor Bugfix for B&W Images
Lottery mode, minor fixes
- Added a lottery mode, which picks a random image instead of the current top one. Please note that if you decide to use this you should carefully pick a good maxlinks value.
- Minor fixes for Lubuntu and Budgie Desktop
- Minor fix for saving some PNG images
Automatic Startup and README Changes
Special thanks to Clotifoth for cleaning up the README for this release.
This release contains a new linux-only flag, --auto-startup, which puts a .desktop file in ~/.config/autostart/ so that wallpaper-reddit will run on every login of that user. This feature will come to OS X and Windows in the near future.
GNOME Wayland and Fixes
Various bug fixes, including adding support for GNOME on Wayland to the list of automatically detected DEs and preferring the custom save command if set. First time building for Fedora 24/Ubuntu 16.04
New Config, Migration to Pillow, Automatic DE Detection
v3 is finally out a changes quite a bit. The most immediate change is the change in the configuration file, which needs to be recreated. The reason for this is the migration from the external ImageMagick to the Python-native Pillow (PIL fork). This leads to MUCH more reliable detection of remote image dimensions. Additionally, most desktop environments should be automatically detected, making the "setcommand" config parameter obsolete for all but the most obscure dekstop setups.
- Migrated from Pillow to ImageMagick
- Changed configuration file, incompatible with old config
- Automatically detects various Linux desktop environments and should set the wallpaper for each one.
- Adds workarounds for Elementary OS (Pantheon) desktop
- Moved from a single script to a full Python package installed using setuptools
Bug Fixes and Header Sizes
- Increased header size to identify the dimensions of more images
- Fixed the "name 'subreddits' is not defined" error with random subreddits (thanks Clueed!)
- Fixed the method of using the
file
command to identify dimensions
v2.0: Windows Support and Optimization
NOTE FOR LINUX USERS:
~/.wallpaper/wallpaper is now ~/.wallpaper/wallpaper.jpg and always converted to a JPEG via imagemagick. This is to help give more standard input for DE's and scripting, but current scripts and links will need to be edited.
The major update for this release is support for the Windows operating system. Windows 7 x64 was the only available test system; if a bug is encountered on another version please file a bug report. Other more minor things were added, such as:
- A checker to prevent downloading the same wallpaper twice (it will not redownload ~/.wallpaper/wallpaper.jpg unless the --force / -f option is used)
- More ways to check the dimensions of an image's header. Sometimes, imagemagick would have issues with just the jpeg headers, so more methods were added for Linux.
- Removal of the "cleanup" option. Instead of using /tmp, I switched to Python's tempfile library, so this is no longer necessary.
- Imgur parser. Normally the program only works with direct links, but I added redirection so that wallpapers on Imgur are redirected to the real image before being handled by the program.
As usual, general optimization and bugfixes were implemented.
Title Overlays and Bug Fixes
So I had globally disabled GitHub notifications, and some pull requests went unnoticed until, well, 2 days ago. I merged all three pull requests, two from edigiacomo and one from orzarchi. Special thanks to those two users. What's added in this version:
- Title overlays! Have ImageMagick directly place the title of the image on the background itself, no conky required (but always an option). It's disabled by default, check out the example config and the "Title Overlays" section in the readme. Thanks to edigiacomo for the base work, I personally added a few small config and style changes.
- Dropped curl dependency, thanks to edigiacomo. I did not know that urllib had a function to get only the first 10k of an image, which is why curl was specifically used.
- Speaking of dependencies, orzarchi added in dependency checks. The program should now alert users without imagemagick installed.
- Fixed some bad programming that would search printed json files instead of properly parsing them. It was originally pretty hacky, but I have since learned the basics of Python dictionaries. This shold make the code more robust, and I'm pretty sure it fixes bugs with older versions of Python 3.