Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

v2.0: Windows Support and Optimization

Compare
Choose a tag to compare
@markubiak markubiak released this 18 Mar 13:00
· 121 commits to master since this release

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.