examples: Add a less blinky example
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 <agx@sigxcpu.org>
This commit is contained in:
@@ -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
|
Note that you can name your theme as you wish but avoid theme names
|
||||||
starting with `__` or `$` as this namespace is reserved.
|
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.
|
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
|
[event-spec]: ./doc/Event-naming-spec-0.0.0.md
|
||||||
[theme-spec]: ./doc/Feedback-theme-spec-0.0.0.md
|
[theme-spec]: ./doc/Feedback-theme-spec-0.0.0.md
|
||||||
[libfeedback-api]: https://feedbackd-b29738.pages.freedesktop.org/
|
[libfeedback-api]: https://feedbackd-b29738.pages.freedesktop.org/
|
||||||
|
[examples/strict.json]: ./examples/strict.json
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "strict",
|
||||||
|
"parent-name": "$device",
|
||||||
|
"profiles" : [
|
||||||
|
{
|
||||||
|
"name" : "silent",
|
||||||
|
"feedbacks" : [
|
||||||
|
{
|
||||||
|
"event-name" : "notification-missed-generic",
|
||||||
|
"type" : "dummy"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user