make autopape use an interval variable
This commit is contained in:
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/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 ]
|
while [ true ]
|
||||||
do
|
do
|
||||||
for img in *
|
for img in *
|
||||||
do
|
do
|
||||||
feh --bg-fill "$img"
|
feh --bg-fill "$img"
|
||||||
sleep 1m
|
sleep "$interval"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user