“i3 is a tiling window manager, completely written from scratch. The target platforms are GNU/Linux and BSD operating systems, our code is Free and Open Source Software (FOSS) under the BSD license. i3 is primarily targeted at advanced users and developers.” — i3wm.org
I’ve just moved to Devuan GNU/Linux 1.0.0 “Jessie” and installed i3wm as desktop environment. While I was setting it up I wanted to set a wallpaper (instead of the black background that comes by default) chosen from those stored in a directory. First of all we have to install the tool “feh”. In Debian/Devuan:
# apt-get install feh
Now, we have to add to the end of the i3 config file (located in ~/.i3/config) the following line (which simply calls feh):
exec --no-startup-id feh --randomize --bg-scale /path/to/wallpapers/*
And then restart i3wm (at least in my case it doesn’t work just reload).