Skip to content

v1.0.2 Important fixes, and caching!

Latest
Compare
Choose a tag to compare
@danihek danihek released this 11 Dec 16:10
· 2 commits to main since this release

v1.0.2

Hello! New verision is up :)

It's mainly to fix some really imporant bugs with malloc, but I added cachig color palettes - it's saved to ~/.cache/hellwal/cache/wallpapername.hellwal.
So now if you want to apply color palette from already computed wallpaper it will just read it as a theme from this directory.

Note: any addional options like --light, --color, --dark, --bright-offset, are NOT saved to cached palettes, for better functionality cached palette is saved only from raw image, rest is computed on fly.

Time comparision on my machine:

Without caching:

dh » time ./hellwal --no-cache -q -i $wallpaper

real    0m0,074s
user    0m0,065s
sys     0m0,008s

With pre-cached wallpaper:

dh » time ./hellwal -q -i $wallpaper

real    0m0,001s
user    0m0,001s
sys     0m0,000s
Changelog for 1.0.2: (Click to expand)
  • changed arc4random() to rand(), because it's not available on all platforms

  • changed rand() to arc4random()

  • created palettes caching

  • added '--no-cache' cmd line argument

  • fixed applying addtional arguments for themes