summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pywal/colors.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pywal/colors.py b/pywal/colors.py
index 664dd4b..6ce3443 100644
--- a/pywal/colors.py
+++ b/pywal/colors.py
@@ -131,15 +131,15 @@ def get(img, cache_dir=CACHE_DIR,
def terminal_sexy_to_wal(data):
"""Convert terminal.sexy json schema to wal."""
data["colors"] = {}
- data["special"] = {}
+ data["special"] = {
+ "foreground": data["foreground"],
+ "background": data["background"],
+ "cursor": data["color"][9]
+ }
for i, color in enumerate(data["color"]):
data["colors"]["color%s" % i] = color
- data["special"]["foreground"] = data["foreground"]
- data["special"]["background"] = data["background"]
- data["special"]["cursor"] = data["colors"]["color1"]
-
return data