From f13c7484bfe8d6eae924a51d450499b7311f369a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Fri, 15 Oct 2021 13:03:53 +0200 Subject: [PATCH] README: dbus calls not usable to trigger feedback Fixes #45 --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 5d052d2..ebcab38 100644 --- a/README.md +++ b/README.md @@ -54,16 +54,7 @@ You can introspect and get the current theme with gdbus introspect --session --dest org.sigxcpu.Feedback --object-path /org/sigxcpu/Feedback ``` -and to request feedback for an event - -```sh -gdbus call --session --dest org.sigxcpu.Feedback --object-path /org/sigxcpu/Feedback --method org.sigxcpu.Feedback.TriggerFeedback 'my.app.id' 'phone-incoming-call' '[]' 0 -``` -This will return an Event id which you should memorize if you ever want to end the ringtone with: - -```sh -gdbus call --session --dest org.sigxcpu.Feedback --object-path /org/sigxcpu/Feedback --method org.sigxcpu.Feedback.EndFeedback EVENTID -``` +To run feedback for an event, use [fbcli](#fbcli) See `examples/` for a simple python example using GObject introspection.