aboutsummaryrefslogtreecommitdiff
path: root/hypr/random-wall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/random-wall.sh')
-rwxr-xr-xhypr/random-wall.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hypr/random-wall.sh b/hypr/random-wall.sh
new file mode 100755
index 0000000..32303e8
--- /dev/null
+++ b/hypr/random-wall.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+while true; do
+ wall=$(find "$HOME/Pictures/Wallpapers" -type f | shuf -n 1)
+ swaybg -i "$wall" -m fill &
+ pid=$!
+ sleep 600
+ kill $pid
+done