DE integration.
Kharacternyk opened this issue · 10 comments
We put the generated wallpaper in ~/.local/share/wallpapers
, but, if the DE isn't GNOME, the wallpapers there are unresized. If the DE doesn't provide an option to center the image and use a solid color outside, setting the wallpaper from GUI is broken.
Possibilities:
- Strictly require
imagemagick
. - Check whether
imagemagick
is installed and resize the image if it is. - Provide support for DEs separately. As of now large effort has been put only in GNOME support.
- Pretend there is no problem.
Related: #14.
Also for many users, imagemagick is already installed as a dependency of something else anyway
I don't like imagemagick
as a mandatory dependency because I don't need it. If one doesn't use a DE, one shouldn't be told to install imagemagick
.
Make 2 branches - DE and WM? You can make 2 scripts in the same branch but 2 branches will be easier for packaging
The difference would be just that in one version we check for GNOME to resize and in other we don't. Maybe a command line flag like -D
to force resizing will do fine?
You need imagemagick for all DEs. But yeah, good idea
There is no point in copying unresized images to XDGOUT
because they are meant to be used through the GUI
Then maybe copying to XDGOUT
should be a part of "DE mode" that is activated via -D
.
I guess b93a4e2 closes this.