summaryrefslogtreecommitdiff
path: root/pywal/export.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-01-17 09:06:22 +1100
committerDylan Araps <dylan.araps@gmail.com>2018-01-17 09:06:22 +1100
commit0a71cb7b2b797a64d7798dd539a37d3a0fb7aed7 (patch)
tree049fca1d4ab5b77692679ab0d07c5ca37233a448 /pywal/export.py
parent39ca55d03b7be499f15ed5edb876272ecc2ec756 (diff)
alpha: Store alpha value in scheme file. Fixes #120
Diffstat (limited to 'pywal/export.py')
-rw-r--r--pywal/export.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pywal/export.py b/pywal/export.py
index 5049db7..665bdf9 100644
--- a/pywal/export.py
+++ b/pywal/export.py
@@ -20,6 +20,7 @@ def flatten_colors(colors):
"""Prepare colors to be exported.
Flatten dicts and convert colors to util.Color()"""
all_colors = {"wallpaper": colors["wallpaper"],
+ "alpha": colors["alpha"],
**colors["special"],
**colors["colors"]}
return {k: util.Color(v) for k, v in all_colors.items()}