make autopape use an interval variable
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user