I used 2 wallpaper applications to achieve this, swww and swaybg
- For Niri, set layet rule
layer-rule {
match namespace="^wallpaper$"
place-within-backdrop true
}
- Spawn at startup with niri
swaybg -i .local/share/backgrounds/paint-blur.jpg &
- Independent of niri use swww to set wallpaper
swww img .local/share/backgrounds/paint.jpg
Hope this helps
you could pick a random file from folader in a bash script... something like this: