summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-29 18:56:56 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-29 18:56:56 +1000
commit4ec8c16d0afce5ae9245eec25ca234ba11841df1 (patch)
tree93921ab99288f786e37d244431f5187fea0ba466
parentad9f62e9b844e4828240861cd59b8f9288118ca7 (diff)
general: comments.
-rwxr-xr-xpywal/export_colors.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pywal/export_colors.py b/pywal/export_colors.py
index eb865fa..4282124 100755
--- a/pywal/export_colors.py
+++ b/pywal/export_colors.py
@@ -35,7 +35,8 @@ def export_all_templates(colors):
# conversion or other intervention.
exclude = ["colors-putty.reg"]
- # Merge both dicts.
+ # Merge both dicts so we can access their
+ # values simpler.
colors["colors"].update(colors["special"])
# Convert colors to other format.
@@ -46,5 +47,6 @@ def export_all_templates(colors):
for file in os.scandir(TEMPLATE_DIR)
if file not in exclude]
- # Call 'putty' manually since it needs RGB colors.
+ # Call 'putty' manually since it needs RGB
+ # colors.
template(colors_rgb, "colors-putty.reg")