@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user