make autopape use an interval variable

This commit is contained in:
2023-11-01 11:29:43 +00:00
parent 1ff395305d
commit d45b8d746d

View File

@ -1,11 +1,13 @@
#!/bin/sh
# simple script to loop through each image in a directory and set said image as wallpaper for 1 minute
# simple script to loop through each image in a directory and set said image as wallpaper for a specififed interval using feh
interval="1m"
while [ true ]
do
for img in *
do
feh --bg-fill "$img"
sleep 1m
sleep "$interval"
done
done