kolbyjack / MMM-Wallpaper

MagicMirror module to display wallpapers from various online sources
https://magicmirror.builders/
MIT License
99 stars 31 forks source link

Display wallpaper next to other widgets #90

Closed DocKDE closed 1 year ago

DocKDE commented 1 year ago

I realize this is probably not exactly the intended use case of the module but I would like to display the wallpaper as a regular image widget next to other widgets I use (calendar, weather etc.). I assume this should be possible but I'm not much of a CSS wizard to make it happen. Is there a setting for this?

Thanks for your work!

kolbyjack commented 1 year ago

Yes, you can set fillRegion to false, and then set a specific width and height:

{
  "source": "whatever",
  "fillRegion": false,
  "width": "300px",
  "height": "300px"
}
DocKDE commented 1 year ago

Ah, I see. Seems to work well enough, thanks for the reply!