diff --git a/Cargo.toml b/Cargo.toml index 71448de..b159f14 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "moongreet" -version = "0.7.2" +version = "0.7.3" edition = "2024" description = "A greetd greeter for Wayland with GTK4 and Layer Shell" license = "MIT" diff --git a/DECISIONS.md b/DECISIONS.md index c14f474..21298bc 100644 --- a/DECISIONS.md +++ b/DECISIONS.md @@ -1,5 +1,12 @@ # Decisions +## 2026-04-06 – Restore explicit gtk-theme in moongreet config + +- **Who**: ClaudeCode, Dom +- **Why**: GTK4 under greetd does not reliably read `/etc/xdg/gtk-4.0/settings.ini` — likely requires a settings daemon that doesn't run in the greeter session. moongreet fell back to Adwaita/Colloid-default (blue accent) instead of Colloid-Grey-Dark-Catppuccin. +- **Tradeoffs**: Reverts `094878f` ("Remove gtk-theme from app config, use system-wide GTK settings instead"). Duplicates the theme name between settings.ini and moongreet.toml, but the explicit set via `set_gtk_theme_name()` is the only reliable path in a greetd context. +- **How**: Added `gtk-theme = "Colloid-Grey-Dark-Catppuccin"` to example config and deployed `/etc/moongreet/moongreet.toml`. + ## 2026-04-02 – Replace hardcoded CSS colors with GTK theme variables - **Who**: ClaudeCode, Dom diff --git a/config/moongreet.toml b/config/moongreet.toml index 1069fae..cccaf19 100644 --- a/config/moongreet.toml +++ b/config/moongreet.toml @@ -4,3 +4,7 @@ [appearance] # Absolute path to wallpaper image background = "/usr/share/backgrounds/wallpaper.jpg" + +# GTK theme name — must match a directory in /usr/share/themes/ +# Required because GTK4 under greetd does not reliably read settings.ini +gtk-theme = "Colloid-Grey-Dark-Catppuccin"