From 60d294fa376fc6273b73d18f9888b6e9b4e9dd0d Mon Sep 17 00:00:00 2001 From: nevaforget Date: Tue, 31 Mar 2026 09:36:19 +0200 Subject: [PATCH] docs: update README, fix build.rs comment, correct gtk-theme in config README: replace LD_PRELOAD with MOONGREET_NO_LAYER_SHELL env var, add missing features (GPU blur, journal logging, password wiping). build.rs: remove wallpaper.jpg reference. moongreet.toml: correct gtk-theme to Colloid-Grey-Dark-Catppuccin. --- README.md | 7 +++++-- build.rs | 2 +- config/moongreet.toml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9e0bb12..ba6f9b4 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,12 @@ Part of the Moonarch ecosystem. - **Power actions** — Reboot / Shutdown via `loginctl` - **Layer Shell** — Fullscreen via gtk4-layer-shell (TOP layer) - **Multi-monitor** — Greeter on primary, wallpaper on all monitors +- **GPU blur** — Background blur via GskBlurNode (shared cache across monitors) - **i18n** — German and English (auto-detected from system locale) - **Faillock warning** — Warns after 2 failed attempts, locked message after 3 - **Fingerprint** — fprintd support via greetd multi-stage PAM (configurable) +- **Journal logging** — `journalctl -t moongreet`, debug level via `MOONGREET_DEBUG` env var +- **Password wiping** — Zeroize on drop ## Requirements @@ -66,8 +69,8 @@ cargo test # Build release cargo build --release -# Run locally (without greetd, needs LD_PRELOAD for layer-shell) -LD_PRELOAD=/usr/lib/libgtk4-layer-shell.so ./target/release/moongreet +# Run locally (without greetd, disables layer-shell) +MOONGREET_NO_LAYER_SHELL=1 ./target/release/moongreet ``` ## License diff --git a/build.rs b/build.rs index 13986c5..8ea198d 100644 --- a/build.rs +++ b/build.rs @@ -1,5 +1,5 @@ // ABOUTME: Build script for compiling GResource bundle. -// ABOUTME: Bundles style.css, wallpaper.jpg, and default-avatar.svg into the binary. +// ABOUTME: Bundles style.css and default-avatar.svg into the binary. fn main() { glib_build_tools::compile_resources( diff --git a/config/moongreet.toml b/config/moongreet.toml index 7bfd4fb..36a8af4 100644 --- a/config/moongreet.toml +++ b/config/moongreet.toml @@ -5,4 +5,4 @@ # Absolute path to wallpaper image background = "/usr/share/backgrounds/wallpaper.jpg" # GTK theme for the greeter UI -gtk-theme = "Colloid-Catppuccin" +gtk-theme = "Colloid-Grey-Dark-Catppuccin"