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-squareobnomus@lemmy.mllinkfedilinkEnglisharrow-up0·edit-23 months agoOp I need help like I’m using swww to set a random wallpaper at startup from my wallpaper folder, now I can’t understand how do I set the same wallpaper in overview.
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)
Op I need help like I’m using swww to set a random wallpaper at startup from my wallpaper folder, now I can’t understand how do I set the same wallpaper in overview.
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)