diff options
| author | Dylan Araps <[email protected]> | 2017-06-29 11:56:36 +1000 |
|---|---|---|
| committer | Dylan Araps <[email protected]> | 2017-06-29 11:56:36 +1000 |
| commit | dc8b30218018d190bdee3678b14e721148d691ba (patch) | |
| tree | b2ff7eb209db0a156d3a4a6369efe5e52f3f25a8 | |
| parent | colors: Use json for all wal generated colors. (diff) | |
| download | pywal-dc8b30218018d190bdee3678b14e721148d691ba.tar.xz pywal-dc8b30218018d190bdee3678b14e721148d691ba.zip | |
General: comment.
| -rwxr-xr-x | pywal/gen_colors.py | 3 |
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. |