77
submitted 1 week ago by variety4me@lemmy.zip to c/unixporn@lemmy.ml
  • waybar
  • alacritty
  • fish
  • rofi
  • firefox
  • pragtical
you are viewing a single comment's thread
view the rest of the comments
[-] Obnomus@lemmy.ml 1 points 1 week ago* (last edited 1 week ago)

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.

[-] variety4me@lemmy.zip 1 points 1 week ago

I used 2 wallpaper applications to achieve this, swww and swaybg

  1. For Niri, set layet rule
layer-rule {
    match namespace="^wallpaper$"
    place-within-backdrop true
}
  1. Spawn at startup with niri swaybg -i .local/share/backgrounds/paint-blur.jpg &
  2. Independent of niri use swww to set wallpaper swww img .local/share/backgrounds/paint.jpg

Hope this helps

[-] variety4me@lemmy.zip 1 points 1 week ago

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)
[-] Obnomus@lemmy.ml 1 points 1 week ago

I'm doing it but, Idk how do I set the same random wallpaper in overview.

[-] Obnomus@lemmy.ml 1 points 1 week ago

I used this but I'm choosing a random wallpaper from my wallpaper folder. Btw thanks for this.

this post was submitted on 05 Aug 2025
77 points (98.7% liked)

Unixporn

17618 readers
18 users here now

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

founded 6 years ago
MODERATORS