feat: add dynamic hard flavour

Someone requested idk who tho
This commit is contained in:
2 * r + 2 * t
2026-02-15 00:24:14 +11:00
parent bca7b12072
commit d890f7c3af
4 changed files with 25 additions and 5 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ def get_colours_for_image(image: Path | str = wallpaper_thumbnail_path, scheme=N
scheme = get_scheme()
cache_base = scheme_cache_dir / compute_hash(image)
cache = (cache_base / scheme.variant / scheme.mode).with_suffix(".json")
cache = (cache_base / scheme.variant / scheme.flavour / scheme.mode).with_suffix(".json")
try:
with cache.open("r") as f: