summaryrefslogtreecommitdiff
path: root/pywal/settings.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-08-10 09:17:11 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-08-10 09:17:11 +1000
commit05c271c3a7faf0e31c28df4a7743c8ce4369c670 (patch)
tree4a415c27c24f9441e49f7339847e17c002623376 /pywal/settings.py
parent979ec3ee1025e90c536ec013aa8b8fa29bed3a21 (diff)
general: Remove all pathlib usage
Diffstat (limited to 'pywal/settings.py')
-rw-r--r--pywal/settings.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pywal/settings.py b/pywal/settings.py
index c500243..c2cd7bd 100644
--- a/pywal/settings.py
+++ b/pywal/settings.py
@@ -9,15 +9,15 @@
Created by Dylan Araps.
"""
-import pathlib
+import os
import platform
__version__ = "0.5.12"
-HOME = pathlib.Path.home()
-CACHE_DIR = HOME / ".cache/wal/"
-MODULE_DIR = pathlib.Path(__file__).parent
+HOME = os.environ["HOME"]
+CACHE_DIR = os.path.join(HOME, ".cache/wal/")
+MODULE_DIR = os.path.dirname(__file__)
COLOR_COUNT = 16
OS = platform.uname()[0]