mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-07 07:49:30 -05:00
feat: add dynamic hard flavour
Someone requested idk who tho
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user