I use a very simple shell script to select a random file from my wallpaper directory and change the wallpaper.
#ffmpeg #shell #script
-
#! /bin/bash
-
-
files=(~/pics/wallpaper/*)
-
-
randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
-
echo $randomfile
-
-
xwallpaper --stretch $randomfile
Topic