prikhi / lightdm-mini-greeter

A Minimal, Configurable, Single-User GTK3 LightDM Greeter
GNU General Public License v3.0
541 stars 48 forks source link

Adding option to set background image size #76

Closed tarkh closed 3 years ago

tarkh commented 3 years ago

Added option to set CSS background-size to background-image. New entry in config file called background-image-size, which accepts string values. Basic values for background image sizing is: cover and contain. (more options listed here: https://www.w3.org/TR/css-backgrounds-3/#background-size)

With this feature now we can set show-image-on-all-monitors = true and background-image-size = cover and have nice full screen scaled background images on all monitors, even with different aspect ratio.

prikhi commented 3 years ago

Thanks! Diff looks good, but probably won't have time to test until this weekend.

tarkh commented 3 years ago

Done! Thank you)

prikhi commented 3 years ago

Thanks!