variety4me@lemmy.zip to Unixporn@lemmy.mlEnglish · 3 months ago[niri] still scrollinglemmy.mlimagemessage-square13fedilinkarrow-up11file-text
arrow-up11image[niri] still scrollinglemmy.mlvariety4me@lemmy.zip to Unixporn@lemmy.mlEnglish · 3 months agomessage-square13fedilinkfile-text
minus-squarevariety4me@lemmy.zipOPlinkfedilinkEnglisharrow-up0·3 months agoI 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
minus-squarevariety4me@lemmy.zipOPlinkfedilinkEnglisharrow-up0·3 months agoyou could pick a random file from folader in a bash script… something like this: RANDOM_FILE=$(find "$SOURCE_FOLDER" -type f | shuf -n 1)
I used 2 wallpaper applications to achieve this, swww and swaybg
layer-rule { match namespace="^wallpaper$" place-within-backdrop true }swaybg -i .local/share/backgrounds/paint-blur.jpg &swww img .local/share/backgrounds/paint.jpgHope this helps
you could pick a random file from folader in a bash script… something like this:
RANDOM_FILE=$(find "$SOURCE_FOLDER" -type f | shuf -n 1)