diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-03-16 09:43:51 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-03-16 09:43:51 +1100 |
| commit | ae1c31305f3e5642a6a53f116584c26b28dea86e (patch) | |
| tree | ef8779f5f4836eb6b3a5bb431d888df7c8028b49 /pywal/colors.py | |
| parent | 534768a791af167567ed4f7390950a4dd6902854 (diff) | |
misc: cleanup
Diffstat (limited to 'pywal/colors.py')
| -rw-r--r-- | pywal/colors.py | 10 |
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 |
