aboutsummaryrefslogtreecommitdiff
path: root/hypr/random-wall.sh
blob: 32303e825635a305386f784d53963e1bf14ed238 (plain)
1
2
3
4
5
6
7
8
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