summaryrefslogtreecommitdiff
path: root/images/bnw/shuffleimg
diff options
context:
space:
mode:
Diffstat (limited to 'images/bnw/shuffleimg')
-rwxr-xr-ximages/bnw/shuffleimg4
1 files changed, 4 insertions, 0 deletions
diff --git a/images/bnw/shuffleimg b/images/bnw/shuffleimg
new file mode 100755
index 0000000..76d2e47
--- /dev/null
+++ b/images/bnw/shuffleimg
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+img=$(ls *.webp | shuf -n 1 | sed "s/^//")
+echo "<img src="/images/bnw/$img" alt="random stable-diffusion art">"