.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "FEEDBACK-THEMES" "" "" "" .SH NAME feedback-themes \- Theme configuration for feedbackd .SH DESCRIPTION .sp In order to reflect device specifics and user overrides the feedback (such as sound, haptic or led) that is being triggered by an event can be configured and overridden by so called themes. Feedback themes use a JSON format that can be validated with \fBfbd\-theme\-validate\fP\&. .sp For details on how to create or modify feedback themes see \fBfeedbackd\(aqs documentation\fP at .SH FEEDBACK TYPES .sp To build a theme you can use several different feedback types: .INDENT 0.0 .IP \(bu 2 \fISound\fP: Plays a sound from the installed sound theme .IP \(bu 2 \fIVibraRumble\fP: A single rumble using the haptic motor .IP \(bu 2 \fIVibraPeriodic\fP: A periodic rumble using the haptic motor .IP \(bu 2 \fILed\fP: A LED blinking in a periodic pattern .UNINDENT .SS Sound feedback .sp Sound feedbacks specify an event name from a XDG sound theme. Sound themes are described in the \fBSound theme spec\fP at .SS VibraRumble feedback .sp The \fIVibraRumble\fP feedback uses a single property .INDENT 0.0 .IP \(bu 2 \fIduration\fP: The duration of the rumble in ms. .UNINDENT .SS LED feedback .sp The \fILed\fP feedback type uses two properties to specify the way a LED blinks. .INDENT 0.0 .IP \(bu 2 \fIcolor\fP: This specifies the color a LED should blink with. It supports the fixed color names \fIred\fP, \fIgreen\fP, \fIblue\fP and \fIwhite\fP as well as values in the RGB HEX format (\fI#RRGGBB\fP) where \fIRR\fP, \fIGG\fP and \fIBB\fP are two digit hex value between \fI00\fP and \fIFF\fP specifying the value of each component. E.g. \fI#00FFFF\fP corresponds to cyan color. .IP \(bu 2 \fIfrequency\fP: The LEDs blinkinig frequencey in mHz. .UNINDENT .SS See also .sp \fBfeedbackd(8)\fP \fBfbcli(1)\fP \fBfbd\-theme\-validate(1)\fP .\" Generated by docutils manpage writer. .