diff --git a/pywal/settings.py b/pywal/settings.py index 18c6dd6..2a862bf 100644 --- a/pywal/settings.py +++ b/pywal/settings.py @@ -18,7 +18,7 @@ __cache_version__ = "1.1.0" HOME = os.getenv("HOME", os.getenv("USERPROFILE")) -CACHE_DIR = os.path.join(HOME, ".cache", "wal") +CACHE_DIR = os.getenv("PYWAL_CACHE_DIR", os.path.join(HOME, ".cache", "wal")) MODULE_DIR = os.path.dirname(__file__) CONF_DIR = os.path.join(HOME, ".config", "wal") OS = platform.uname()[0]