Skip to content

Commit

Permalink
fix randomize script trying to use directories as images
Browse files Browse the repository at this point in the history
Fix was suggested by @MRSS02.
  • Loading branch information
LGFae committed Feb 18, 2024
1 parent b843150 commit a3dc064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_scripts/swww_randomize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export SWWW_TRANSITION_STEP=2
INTERVAL=300

while true; do
find "$1" \
find "$1" -type f \
| while read -r img; do
echo "$((RANDOM % 1000)):$img"
done \
Expand Down

0 comments on commit a3dc064

Please sign in to comment.