river: random wallpaper bug fixes

This commit is contained in:
Aly Raffauf 2024-04-13 19:52:41 -04:00
parent e5a46f7b2b
commit 276dd1bd80

View file

@ -11,8 +11,8 @@
while true; do
kill `pidof swaybg`
random_background=$(ls $directory/*.{png,jpg} | shuf -n 1)
swaybg -i $random_background
sleep 900
swaybg -i $random_background &
sleep 300
done
fi
'';