feat: add optional background blur via image crate

Gaussian blur applied at texture load time when `background_blur` is
set in moonset.toml. Blur runs once, result is shared across monitors.
This commit is contained in:
2026-03-28 14:53:04 +01:00
parent 473bed479a
commit 529a1a54ae
6 changed files with 202 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ fn activate(app: &gtk::Application) {
// Resolve wallpaper once, decode texture once, share across all windows
let config = config::load_config(None);
let bg_path = config::resolve_background_path(&config);
let texture = panel::load_background_texture(&bg_path);
let texture = panel::load_background_texture(&bg_path, config.background_blur);
// Panel on focused output (no set_monitor → compositor picks focused)
let panel = panel::create_panel_window(&texture, app);