From ae1c31305f3e5642a6a53f116584c26b28dea86e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 16 Mar 2018 09:43:51 +1100 Subject: [PATCH] misc: cleanup --- pywal/colors.py | 10 +++++----- 1 file 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