feat: add optional background blur via image crate

Gaussian blur applied at texture load time when `background-blur` is
set in the [appearance] section of moongreet.toml. Blur runs once,
result is shared across monitors.
This commit is contained in:
2026-03-28 14:53:16 +01:00
parent 14d6476e5a
commit 293bba32a6
6 changed files with 197 additions and 10 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ fn activate(app: &gtk::Application) {
log::debug!("Background path: {}", bg_path.display());
// Load background texture once — shared across all windows
let bg_texture = greeter::load_background_texture(&bg_path);
let bg_texture = greeter::load_background_texture(&bg_path, config.background_blur);
if bg_texture.is_none() {
log::error!("Failed to load background texture — greeter will start without wallpaper");
}