summaryrefslogtreecommitdiff
path: root/images/bnw/shuffleimg
diff options
context:
space:
mode:
authormono-b <monoblanco@DRAINERDOMAIN.localdomain>2022-12-18 23:58:07 -0300
committermono-b <monoblanco@DRAINERDOMAIN.localdomain>2022-12-18 23:58:07 -0300
commit476493c61679764b33734512f023a627dcca9ecf (patch)
tree0db36282ab18c2b8d6eb15efab2eb49ef2eb8de3 /images/bnw/shuffleimg
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">"