From a60a91f9f093ca8d3597257cedc0b3ab2f68c2fc Mon Sep 17 00:00:00 2001 From: eylles Date: Sat, 12 Mar 2022 01:23:21 -0600 Subject: [PATCH] correct name of cached theme json the names used to be backwards with a 9 being added to 16 color themes and visceversa. --- pywal/colors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywal/colors.py b/pywal/colors.py index 71884d6..a59f5b2 100644 --- a/pywal/colors.py +++ b/pywal/colors.py @@ -121,7 +121,7 @@ def saturate_colors(colors, amount): def cache_fname(img, backend, cols16, light, cache_dir, sat=""): """Create the cache file name.""" color_type = "light" if light else "dark" - color_num = "9" if cols16 else "16" + color_num = "16" if cols16 else "9" file_name = re.sub("[/|\\|.]", "_", img) file_size = os.path.getsize(img)