From d45b8d746df3bb48b926c6d75ba15d54983d3ebb Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 1 Nov 2023 11:29:43 +0000 Subject: [PATCH] make autopape use an interval variable --- autopape.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autopape.sh b/autopape.sh index 3cf6980..63fc26e 100755 --- a/autopape.sh +++ b/autopape.sh @@ -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