summaryrefslogtreecommitdiff
path: root/pywal
diff options
context:
space:
mode:
authorDylan Araps <dylanaraps@users.noreply.github.com>2017-07-02 23:24:55 +1000
committerGitHub <noreply@github.com>2017-07-02 23:24:55 +1000
commit570bfccfc507ea27cc0034b9ddac7ff06ee68dc8 (patch)
treefcc0e5f6259156cdc46a4a60c87a1a00b45423f0 /pywal
parent0757c9ef05f80012a1066e2b8e487992a8f86af1 (diff)
magic: Update docs
Diffstat (limited to 'pywal')
-rw-r--r--pywal/magic.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pywal/magic.py b/pywal/magic.py
index b435a0a..406a513 100644
--- a/pywal/magic.py
+++ b/pywal/magic.py
@@ -19,7 +19,8 @@ def imagemagick(color_count, img):
def gen_colors(img):
- """Generate a color palette using imagemagick."""
+ """Format the output from imagemagick into a list
+ of hex colors."""
# Check if the user has Imagemagick installed.
if not shutil.which("convert"):
print("error: imagemagick not found, exiting...\n"
@@ -48,7 +49,7 @@ def gen_colors(img):
def get_colors(img, quiet):
- """Generate a colorscheme using imagemagick."""
+ """Get the colorscheme."""
# Cache the wallpaper name.
util.save_file(img, CACHE_DIR / "wal")