perf: cache blurred wallpaper to disk to avoid re-blur on startup

First launch with blur blurs and saves to ~/.cache/moonset/. Subsequent
starts load the cached PNG directly (~9x faster). Cache invalidates
when wallpaper path, size, mtime, or sigma changes.
This commit is contained in:
2026-03-28 21:22:48 +01:00
parent 622b06da3f
commit 478caed8e0
3 changed files with 172 additions and 3 deletions
Generated
+1 -1
View File
@@ -805,7 +805,7 @@ dependencies = [
[[package]]
name = "moonset"
version = "0.1.1"
version = "0.4.0"
dependencies = [
"dirs",
"env_logger",