wallpaper: cache smart mode

This commit is contained in:
2 * r + 2 * t
2025-06-12 21:51:59 +10:00
parent c043a14ca2
commit a97de9d430
2 changed files with 25 additions and 12 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ wallpapers_dir = Path.home() / "Pictures/Wallpapers"
wallpaper_path_path = c_state_dir / "wallpaper/path.txt"
wallpaper_link_path = c_state_dir / "wallpaper/current"
wallpaper_thumbnail_path = c_state_dir / "wallpaper/thumbnail.jpg"
thumbnail_cache_dir = c_cache_dir / "thumbnails"
wallpapers_cache_dir = c_cache_dir / "wallpapers"
def compute_hash(path: Path | str) -> str: