aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaiyed Shizain <saiyedshizain@gmail.com>2026-09-11 18:42:30 +0530
committerSaiyed Shizain <saiyedshizain@gmail.com>2026-09-11 18:42:30 +0530
commitb37fff291e4b5ac3577e865807bb25cf1e03d569 (patch)
tree2167c22e12ca55821120b0566726b948fac66827
parent15d9d2e8946a235c2c17ebb2048c20658a44cd68 (diff)
downloadpomoru-b37fff291e4b5ac3577e865807bb25cf1e03d569.tar.xz
pomoru-b37fff291e4b5ac3577e865807bb25cf1e03d569.zip
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
-rw-r--r--README.md44
1 files changed, 43 insertions, 1 deletions
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