From b37fff291e4b5ac3577e865807bb25cf1e03d569 Mon Sep 17 00:00:00 2001 From: Saiyed Shizain Date: Fri, 11 Sep 2026 18:42:30 +0530 Subject: docs: update README with theming section and noctalia v5 setup - Add Theming section with priority table (matugen > legacy > defaults) - Document noctalia v5 setup: copy template + append templates.toml entry - Add noctalia theme --render-templates usage tip - Update Design feature bullet to reference noctalia v5 and matugen --- README.md | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2483d09..d63c7ab 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ A minimalist Pomodoro TUI with a task list, written in Rust. - Keyboard-only interaction - Minimalist interface -- Dynamic theming system (for Noctalia Shell users) +- Dynamic theming via [Noctalia](https://noctalia.dev) (v5 matugen templates + legacy `colors.json`) - Configuration saved locally --- @@ -146,6 +146,48 @@ The previously stated `status.json` can be used in Waybar as follows: --- +## Theming + +Pomoru picks up colors in this priority order: + +| Priority | Source | When it applies | +|----------|--------|-----------------| +| 1 | `~/.cache/pomoru/colors.json` | Noctalia v5 matugen template (recommended) | +| 2 | `~/.config/noctalia/colors.json` | Legacy noctalia `< v5` format | +| 3 | Built-in defaults | Catppuccin Mocha palette | + +### Noctalia v5 (matugen) — recommended + +Copy the template and add the user-template entry so noctalia re-renders pomoru's colors whenever your palette changes: + +```bash +# 1. Copy the template file +mkdir -p ~/.config/noctalia/templates +cp assets/noctalia/colors-template.json \ + ~/.config/noctalia/templates/pomoru-colors.json + +# 2. Append the template entry to your noctalia templates config +cat assets/noctalia/templates.toml >> ~/.config/noctalia/templates.toml + +# 3. Trigger an immediate render (or just change your wallpaper) +noctalia theme --render-templates +``` + +The template entry noctalia needs is: + +```toml +[theme.templates.user.pomoru] +input_path = "$XDG_CONFIG_HOME/noctalia/templates/pomoru-colors.json" +output_path = "$XDG_CACHE_HOME/pomoru/colors.json" +``` + +### Legacy noctalia (`< v5`) + +No setup required. If `~/.config/noctalia/colors.json` exists and the +matugen cache file does not, pomoru reads colors from it automatically. + +--- + ## Installation ### Prebuilt binary -- cgit v1.2.3