diff --git a/README.md b/README.md index 1ee68dd..924e3b2 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,10 @@ events. This will allow us to act as a system sound library so applications only need to call into this library and things like the quiet and silent profile work out of the box. +Any feedback triggered by a client via an event will be stopped latest when the +client disconnects from DBus. This makes sure all feedbacks get canceled if the +app that triggered it crashes. + ## Feedback theme Events are then mapped to a specific type of feedback (sound, led, vibra) via a device specific theme (since devices have different capabilities). @@ -200,6 +204,11 @@ Run feedbacks for event `message-new-instant` for 10 seconds: _build/cli/fbcli -t 10 -E alarm-clock-elapsed ``` +## Python example + +There's an `example.py` script in the example/ folder of the +repository demonstrating how to trigger feedback via an event. + ## Per app profiles One can set the feedback profile of an individual application via `GSettings`. E.g. for an app with app id `sm.puri.Phosh`