feh allows you to view images in terminal. you can also set the background with it

setting background

You can set the backgrounds in dwm by using feh.

Sudo pacman -S feh

then do feh –bg-scale /pathtojpeg

then in .xinitrc, do ~/.fehbg &