summaryrefslogtreecommitdiff
path: root/pywal/sequences.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-24 22:29:20 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-24 22:29:20 +1000
commitb9bf74f89b1d10d8f8e54863bf5442d612c85fdd (patch)
treef52225414b33ad7b33f17f090faf5954a9b8ab7a /pywal/sequences.py
parent4fecce6e9c326970a73f8f3a599be8a02aeea381 (diff)
general: Rename constants
Diffstat (limited to 'pywal/sequences.py')
-rw-r--r--pywal/sequences.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pywal/sequences.py b/pywal/sequences.py
index 4f14234..4e1457d 100644
--- a/pywal/sequences.py
+++ b/pywal/sequences.py
@@ -3,7 +3,7 @@ Send sequences to all open terminals.
"""
import os
-from .settings import __cache_dir__
+from .settings import CACHE_DIR
from . import util
@@ -22,7 +22,7 @@ def set_color(index, color):
return f"\033]4;{index};{color}\007"
-def send(colors, vte, cache_dir=__cache_dir__):
+def send(colors, vte, cache_dir=CACHE_DIR):
"""Send colors to all open terminals."""
# Colors 0-15.
sequences = [set_color(num, color)