blue-build / modules

BlueBuild standard modules used for building your Atomic Images
Apache License 2.0
26 stars 4 forks source link

module idea: wallpapers (or backgrounds) #130

Open fiftydinar opened 9 months ago

fiftydinar commented 9 months ago

It would make it easier for the user to copy wallpapers into desktop environment.

xynydev commented 9 months ago

Nice idea! Including a lot of wallpapers will fill the build space pretty quickly, though, that's why the old bling wallpapers used RPMs. Including wallpapers from an external source could be cool too, but might get complicated. Setting up the correct XML and whatever so that the wallpapers are in DE wallpaper pickers would be the main feature of the module IMO, though.

fiftydinar commented 9 months ago

Nice idea! Including a lot of wallpapers will fill the build space pretty quickly, though, that's why the old bling wallpapers used RPMs.

Yeah, that's true. I can maybe put some arbitrary file-size limit or/and simply warn in README about this.

Including wallpapers from an external source could be cool too, but might get complicated.

I agree, that's cool. Something similar to what fonts module does with google-fonts & nerd-fonts. We would need to find some reliable & popular wallpaper source for this. Open-source preferred. Maybe devianart wallpaper category or something.

Setting up the correct XML and whatever so that the wallpapers are in DE wallpaper pickers would be the main feature of the module IMO, though.

Yeah, that's what I realized when I looked into what needs to be manually done to do those things. Users wouldn't need to know about those XML's & gschema stuff, they would just put wallpaper & be happy that it works.

External wallpaper source would be a great feature too!

fiftydinar commented 1 month ago

@xynydev Now that I think about, I think that your proposed recipe format is pretty good, with some exception:

type: wallpapers
default-scaling: zoom
wallpapers:
   - file: filename-scale.jpg
     scaling: scaled
   - file: filename-tile.jpg
     scaling: wallpaper
default-wallpaper:
     light: filename-center-light.jpg
     dark: filename-center-dark.jpg
     scaling: centered

How to handle specifying folders here in wallpapers-file? What if user wants to copy everything from /files/wallpapers/* by specifying type: wallpapers only?

Will have to think how to handle that here.