aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-06-29 11:56:36 +1000
committerDylan Araps <[email protected]>2017-06-29 11:56:36 +1000
commitdc8b30218018d190bdee3678b14e721148d691ba (patch)
treeb2ff7eb209db0a156d3a4a6369efe5e52f3f25a8
parentcolors: Use json for all wal generated colors. (diff)
downloadpywal-dc8b30218018d190bdee3678b14e721148d691ba.tar.xz
pywal-dc8b30218018d190bdee3678b14e721148d691ba.zip
General: comment.
-rwxr-xr-xpywal/gen_colors.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pywal/gen_colors.py b/pywal/gen_colors.py
index 593875f..bd044c2 100755
--- a/pywal/gen_colors.py
+++ b/pywal/gen_colors.py
@@ -123,7 +123,8 @@ def get_colors(img, quiet):
def sort_colors(colors):
- """Sort the generated colors."""
+ """Sort the generated colors and store them in a dict that
+ we will later save in json format."""
raw_colors = colors[:1] + colors[9:] + colors[8:]
# Special colors.