mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-09 23:48:35 +01:00
settings: Added ENVAR PYWAL_CACHE_DIR to change cache dir. Closes #343
This commit is contained in:
parent
aecb848283
commit
30af3d0d5c
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user