Files
Z-Dot/.config/hypr/hypr-old/scripts/old/Wallpaper/PopulateImages.sh
T

9 lines
185 B
Bash
Executable File

#!/bin/zsh
dir="/home/inorishio/Pictures/Backgrounds/"
output_file="/tmp/random_images.list"
images=10
# Generate random images
find "$dir" -type f | shuf -n $images > "$output_file"