Añadido eom.sh

This commit is contained in:
JailDesigner committed 2023-09-06 10:37:11 +02:00
1 parent d35f94f05e
commit fe46e7b498
1 file changed
+13
Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# Script para ejecutar un slideshow con eom
# de una carpeta al azar dentro de un directorio
FOLDER=/home/sergio/zx/scr_packs
array=("${FOLDER}"/*/)
#for dir in "${array[@]}"; do echo "$dir"; done
NUM=$(( RANDOM % ${#array[@]}))
#echo "${array[$NUM]}"
eom -f -s "${array[$NUM]}"