aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-06-21 22:40:51 +1000
committerDylan Araps <[email protected]>2017-06-21 22:40:51 +1000
commit5efd215969878fc7e11135b7ebefb47b8681c092 (patch)
tree79f04815f3f7d1ccfa85ffc5fe049462ed9c8405
parentcolors: Add error handling to reload (diff)
downloadpywal-5efd215969878fc7e11135b7ebefb47b8681c092.tar.xz
pywal-5efd215969878fc7e11135b7ebefb47b8681c092.zip
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