Change Wallpaper on Sway

Hi there. Did any of you change the wallpaper on Sway with Waypaper?

I tried with both swaybg and swww

Selected image path: /usr/share/wallpapers/garuda-wallpapers/Abstract.jpg
Image set with swaybg
2023-08-17 16:52:56 - [swaybg-1.2.0/main.c:293] Found config * for output eDP-1 (LG Display 0x0498)
Selected image path: /usr/share/wallpapers/garuda-wallpapers/Darkwing Beast.jpg
Image set with swww
Error: "There seems to already be another instance running..."
swaybg: no process found

Nothing of that works.

For swww to work, you have to run swww init first.

This is what I use on hyprland:

exec-once = sleep 1; swww init; sleep 1; while true; do swww img /home/maus/Pictures/wallpapers/$(ls /home/maus/Pictures/wallpapers | shuf -n 1) --transition-fps 30 --transition-type=random --transition-bezier=0,0.84,1,1; sleep 600; done

This shuffles through my wallpapers every 600 seconds


Thanks a lot.

I now works, and I have no idea why. I executed the commands to showcase them in this post, and this time, it seems to have worked, probably with swaybg.

Obviously, you need to make forum posts, to fix things :smiley:

Thanks a lot for the swift response anyway :+1:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.