From 1b9573352d961970bb01d8114a120c4665cbe62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 30 Jan 2026 13:21:21 +0100 Subject: [PATCH 1/2] doc: Fix json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gbp-Dch: Ignore Signed-off-by: Guido Günther --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64541df..f43e13a 100644 --- a/README.md +++ b/README.md @@ -153,8 +153,8 @@ replace this by your own, custom theme in multiple ways: ```json { - "name: "custom" - "parent-name": "default" + "name": "custom", + "parent-name": "default", "profiles" : [ ...(events you want to change go here)... ] From 48df3f2508d3cd3bc1978dbc1a156e8fa8a42a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 30 Jan 2026 14:07:24 +0100 Subject: [PATCH 2/2] examples: Add a less blinky example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Uncategorized notifications can be distracting. Add an example that disable the notification LED for these. Copy to ~/.config/feedbackd/themes/ and enable via gsettings set org.sigxcpu.feedbackd theme strict Signed-off-by: Guido Günther --- README.md | 9 ++++++++- examples/strict.json | 15 +++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 examples/strict.json diff --git a/README.md b/README.md index f43e13a..fef2c92 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,13 @@ replace this by your own, custom theme in multiple ways: Note that you can name your theme as you wish but avoid theme names starting with `__` or `$` as this namespace is reserved. - This is the preferred way to specify a custom theme. + This is the preferred way to specify a custom theme. See [examples/strict.json][] + for a minimal example that you can copy to `~/.config/feedbackd/themes/` + and enable via + + ```sh + gsettings set org.sigxcpu.feedbackd theme strict + ``` For available feedback types see the [feedback-themes][](5) manpage. @@ -370,3 +376,4 @@ on IRC and bug tracker. [event-spec]: ./doc/Event-naming-spec-0.0.0.md [theme-spec]: ./doc/Feedback-theme-spec-0.0.0.md [libfeedback-api]: https://feedbackd-b29738.pages.freedesktop.org/ +[examples/strict.json]: ./examples/strict.json diff --git a/examples/strict.json b/examples/strict.json new file mode 100644 index 0000000..03a2e47 --- /dev/null +++ b/examples/strict.json @@ -0,0 +1,15 @@ +{ + "name": "strict", + "parent-name": "$device", + "profiles" : [ + { + "name" : "silent", + "feedbacks" : [ + { + "event-name" : "notification-missed-generic", + "type" : "dummy" + } + ] + } + ] +}