summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-19 12:20:06 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-19 12:20:06 +1000
commitfef3bc888a8a542e844faf9ad517db6a2842b6d2 (patch)
tree044135f24030cc16f3edfc032e2f53320ec116d7
parent89e12a61c5d26b0bce829938ff512b254b714f65 (diff)
General: Set the wallpaper earlier.
-rw-r--r--wal.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wal.py b/wal.py
index 36a3ae1..4b53b92 100644
--- a/wal.py
+++ b/wal.py
@@ -385,6 +385,9 @@ def main():
if args.i:
image = str(get_image(args.i))
+ # Set the wallpaper.
+ set_wallpaper(image)
+
# Create colorscheme dir.
pathlib.Path(CACHE_DIR + "schemes").mkdir(parents=True, exist_ok=True)
@@ -393,7 +396,6 @@ def main():
# Set the colors.
send_sequences(colors, args.t)
- set_wallpaper(image)
export_plain(colors)
export_xrdb(colors)