summaryrefslogtreecommitdiff
path: root/dots/home/scripts/wallpaper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dots/home/scripts/wallpaper.sh')
-rw-r--r--dots/home/scripts/wallpaper.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dots/home/scripts/wallpaper.sh b/dots/home/scripts/wallpaper.sh
new file mode 100644
index 0000000..47c604c
--- /dev/null
+++ b/dots/home/scripts/wallpaper.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+wallpaper=`find -L $HOME/Pictures/wallpapers -type f | shuf -n1`
+swww img $wallpaper --transition-type random
+