feedback-themes
Theme configuration for feedbackd
- Provided by: feedbackd (Version: 0.8.9-1)
- Report a bug
Theme configuration for feedbackd
The feedback provided to the user for an event is determined by the currently active feedback theme.
Each theme consists of up to three profile sections named full, quiet and silent containing event names and their associated feedback. They can reference another theme via the parent-name element to avoid repetition. If an event received by the daemon is not present in the currently active theme or its parent theme it will be ignored.
Each event maps to at most one feedback in each profile. The events in the theme are named according to the Event Naming Specifiaction <https://gitlab.freedesktop.org/agx/feedbackd/-/blob/main/doc/Event-naming-spec-0.0.0.md>.
There are two types of themes: custom themes and device themes. They both use the same format but have different purpose. Custom themes are meant to tweak feebackd's output to the user's needs while device themes are meant to cater for hardware differences. Feedback themes use a JSON format that can be validated with fbd-theme-validate(1).
For details on how to create or modify feedback themes see feedbackd's documentation at <https://gitlab.freedesktop.org/agx/feedbackd#feedback-theme>.
To build a theme you can use several different feedback types:
Sound feedbacks specify an event name from a XDG sound theme. Sound themes are described in the Sound theme spec at <https://freedesktop.org/wiki/Specifications/sound-theme-spec/>
Sound feedback is usually used in the full profile section of the theme only.
The VibraRumble feedback uses a single property
VibraRumble feedback is usually used in the quiet profile section of the theme only.
The VibraPattern feedback has these properties
Both arrays must have the same length. VibraPattern feedback is usually used in the quiet profile section of the the theme only.
The Led feedback type uses two properties to specify the way a LED blinks.
Led feedback is usually used in the silent profile section of the theme only.