blue-build / modules

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

module idea: sddm theme #153

Open dreamyukii opened 7 months ago

dreamyukii commented 7 months ago

Because sddm theme is located at /usr/share/sddm you can't customize it unless

  1. Building RPM package for sddm theme
  2. Manually copy theme folder at build time
gerblesh commented 7 months ago

this functionality can be accomplished with the files module at build time. Making a module for it wouldn't make too much of a difference because it would still only be available at build time. If you are able to explain more of a usecase or give a example of the structure it would be helpful. You can also try implementing the module yourself, as it's just a simple shell script that takes in a JSON input

gerblesh commented 7 months ago

I think there was also talk about symlinking the /usr/share/sddm/themes directory to somewhere in /etc to make it writable and allow the KDE settings to update the theme accordingly. Not sure how well that works but that would likely be a much better option

dreamyukii commented 7 months ago

this functionality can be accomplished with the files module at build time. Making a module for it wouldn't make too much of a difference because it would still only be available at build time. If you are able to explain more of a usecase or give a example of the structure it would be helpful. You can also try implementing the module yourself, as it's just a simple shell script that takes in a JSON input

maybe something similar to font module? adding themes from Pling/KDE store without need to download and put themes manually

xynydev commented 7 months ago

symlinking the /usr/share/sddm/themes directory to somewhere in /etc

I think this is something we shouldn't encourage. If KDE wants to solve this issue themselves, or someone wants to use this hack in their own image, sure, but doesn't seem a great solution overall.

maybe something similar to font module? adding themes from Pling/KDE store without need to download and put themes manually

I agree. Something like that would be great. A general Pling downloader would be cool, since they host a lot of customization stuff, and the specific places to put the content in could be somehow configured or automagically determined.

While we're at it, a https://extensions.gnome.org/ downloader would be cool too...