Allow to lower the feedback level per application

We munge the application id the same way as it's done
for notifications so these can eventually move into
the same schema.
This commit is contained in:
Guido Günther
2020-04-20 07:23:44 +00:00
committed by Guido Gunther
parent eec1556d87
commit 9cb62dee1d
3 changed files with 49 additions and 9 deletions
+9
View File
@@ -126,6 +126,15 @@ Run feedbacks for event `message-new-instant` for 10 seconds:
_build/cli/fbcli -t 10 -E alarm-clock-elapsed
```
## Per app profiles
One can lower the feedback level of an individual application
via `GSettings`. E.g. for an app with app id `sm.puri.Phosh`
to set the profile to `quiet` do:
```
GSETTINGS_SCHEMA_DIR=_build/data/ gsettings set org.sigxcpu.feedbackd.application:/org/sigxcpu/feedbackd/application/sm-puri-phosh/ profile quiet
```
# Documentation
- [Libfeedback API](https://honk.sigxcpu.org/projects/feedbackd/doc/)