From 9a89da8b13e93da2cb7ac2b12e2a30720e8c21da Mon Sep 17 00:00:00 2001 From: nevaforget Date: Sat, 28 Mar 2026 23:23:10 +0100 Subject: [PATCH] docs: update for wallpaper removal from binary Sync documentation with greetd-moongreet wallpaper removal. --- CLAUDE.md | 2 +- DECISIONS.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index a2908bf..3b7af4e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -17,7 +17,7 @@ Teil des Moonarch-Ökosystems. ## Projektstruktur - `src/` — Rust-Quellcode (main.rs, greeter.rs, ipc.rs, config.rs, users.rs, sessions.rs, i18n.rs, power.rs) -- `resources/` — GResource-Assets (style.css, wallpaper.jpg, default-avatar.svg) +- `resources/` — GResource-Assets (style.css, default-avatar.svg) - `config/` — Beispiel-Konfigurationsdateien für `/etc/moongreet/` und `/etc/greetd/` - `pkg/` — PKGBUILD für Arch-Linux-Paketierung (`makepkg -sf`) diff --git a/DECISIONS.md b/DECISIONS.md index 010a943..00ca23a 100644 --- a/DECISIONS.md +++ b/DECISIONS.md @@ -1,5 +1,12 @@ # Decisions +## 2026-03-28 – Remove embedded wallpaper from binary + +- **Who**: Selene, Dom +- **Why**: Wallpaper is installed by moonarch to /usr/share/moonarch/wallpaper.jpg. Embedding a 374K JPEG in the binary is redundant. GTK background color (Catppuccin Mocha base) is a clean fallback. +- **Tradeoffs**: Without moonarch installed AND without config, greeter shows plain dark background instead of wallpaper. Acceptable — that's the expected minimal state. +- **How**: Remove wallpaper.jpg from GResources, return None from resolve_background_path when no file found, skip wallpaper window creation and background picture when no path available. + ## 2026-03-28 – GPU blur via GskBlurNode replaces CPU blur - **Who**: Ragnar, Dom