I need to change the default wallpaper in sway?

I need to change my wallpaper in sway . Can someone tell me how to do it?
I need to change for both login screen and desktop separate?

/etc/sway/themes
select the them folder your using
the first file, can’t remember the name, you’ll see a line ending in png

1 Like

Yes you need to do that separately.

For sway, call call swaymsg output …

Look at my script for randomly choosing an image from directory and place it as a wallpaper. :slight_smile:
https://git.sr.ht/~freed00m/dotfiles/tree/master/item/.config/systemd/user/sway-wallpaper-change.sh