aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/wallpaper.sh
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/wallpaper.sh')
-rwxr-xr-x.local/bin/wallpaper.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.local/bin/wallpaper.sh b/.local/bin/wallpaper.sh
new file mode 100755
index 0000000..ed2d2bb
--- /dev/null
+++ b/.local/bin/wallpaper.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Launch SXIV and set wallpaper randomly from selected images
+
+WALLPAPERS_DIR=~/Pictures/Wallpapers
+xwallpaper --zoom $(sxiv $WALLPAPERS_DIR -t -o | shuf | head -n 1)