Syntax errors and Lubuntu support

I fixed unnecessary spaces in the ">&2" error redirection, because they tripped up my version of bash (4.3.11).
I also added support for Lubuntu, and tested it.
This will not work for other LXDE based distros, because of the specific path to the pcmanfm config files.
An automatic way to discover this path will be needed for a more generic solution.
No real reason,  it was just copied as is from the original linked author
On 31 Oct 2014 14:56, "Rovanion Luckey" <notifications@github.com> wrote:

> In randomWallpaper.sh:
>
> > @@ -170,6 +176,26 @@ function wall_xfconf-query {
> >      done
> >  }
> >
> > +# Change wallpaper using pcmanfm (Lubuntu only)
> > +# All credit for this method goes to Charles Tassell(http://sourceforge.net/p/pcmanfm/bugs/866/#f74d)
> > +function wall_pcmanfm {
> > +
> > +    profDir=~/.config/pcmanfm/lubuntu
>
> Why is this var called profDir?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Alfred456654/RedditWallpaper/pull/4/files#r19664965>.
>