.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "waybar-backlight" "5" "2024-05-06" .PP .SH NAME .PP waybar - backlight module .PP .SH DESCRIPTION .PP The \fBbacklight\fR module displays the current backlight level.\& .PP .SH CONFIGURATION .PP \fBinterval\fR: .br typeof: integer .br default: 2 .br The interval in which information gets polled.\& .PP \fBformat\fR: .br typeof: string .br default: {percent}% .br The format, how information should be displayed.\& On {} data gets inserted.\& .PP \fBmax-length\fR: .br typeof: integer .br The maximum length in characters the module should display.\& .PP \fBmin-length\fR: .br typeof: integer .br The minimum length in characters the module should accept.\& .PP \fBalign\fR: .br typeof: float .br The alignment of the label within the module, where 0 is left-aligned and 1 is right-aligned.\& If the module is rotated, it will follow the flow of the text.\& .PP \fBjustify\fR: .br typeof: string .br The alignment of the text within the module'\&s label, allowing options '\&left'\&, '\&right'\&, or '\¢er'\& to define the positioning.\& .PP \fBrotate\fR: .br typeof: integer .br Positive value to rotate the text label.\& .PP \fBstates\fR: .br typeof: object .br A number of backlight states which get activated on certain brightness levels.\& See \fBwaybar-states(5)\fR.\& .PP \fBon-click\fR: .br typeof: string .br Command to execute when the module is clicked.\& .PP \fBon-click-middle\fR: .br typeof: string .br Command to execute when middle-clicked on the module using mouse scroll wheel.\& .PP \fBon-click-right\fR: .br typeof: string .br Command to execute when the module is right-clicked.\& .PP \fBon-update\fR: .br typeof: string .br Command to execute when the module is updated.\& .PP \fBon-scroll-up\fR: .br typeof: string .br Command to execute when performing a scroll up on the module.\& This replaces the default behaviour of brightness control.\& .PP \fBon-scroll-down\fR: .br typeof: string .RS 4 Command to execute when performing a scroll down on the module.\& This replaces the default behaviour of brightness control.\& .PP .RE \fBsmooth-scrolling-threshold\fR: .br typeof: double .RS 4 Threshold to be used when scrolling.\& .PP .RE \fBreverse-scrolling\fR: .br typeof: bool .br Option to reverse the scroll direction.\& .PP \fBscroll-step\fR: .br typeof: float .br default: 1.\&0 .br The speed at which to change the brightness when scrolling.\& .PP .SH EXAMPLE: .PP .nf .RS 4 "backlight": { "device": "intel_backlight", "format": "{percent}% {icon}", "format-icons": ["", ""] } .fi .RE .PP .SH STYLE .PP .PD 0 .IP \(bu 4 \fB#backlight\fR