summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-21 22:40:51 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-21 22:40:51 +1000
commit5efd215969878fc7e11135b7ebefb47b8681c092 (patch)
tree79f04815f3f7d1ccfa85ffc5fe049462ed9c8405
parent0a64877b1e75c787720fcb37b41394ce2101d27b (diff)
colors: Change function order
-rwxr-xr-xwal3
1 files changed, 2 insertions, 1 deletions
diff --git a/wal b/wal
index a7264a1..06ebb3d 100755
--- a/wal
+++ b/wal
@@ -95,10 +95,11 @@ def process_args(args):
if args.i:
image = str(get_image(args.i))
+ colors = get_colors(image)
+
if not args.n:
set_wallpaper(image)
- colors = get_colors(image)
return colors