1waybar-backlight(5)           File Formats Manual          waybar-backlight(5)
2
3
4

NAME

6       waybar - backlight module
7

DESCRIPTION

9       The backlight module displays the current backlight level.
10

CONFIGURATION

12       interval:
13            typeof: integer
14            default: 2
15            The interval in which information gets polled.
16
17       format:
18            typeof: string
19            default: {percent}%
20            The format, how information should be displayed. On {} data gets
21       inserted.
22
23       max-length:
24            typeof: integer
25            The maximum length in characters the module should display.
26
27       min-length:
28           typeof: integer
29           The minimum length in characters the module should take up.
30
31       align:
32           typeof: float
33           The alignment of the text, where 0 is left-aligned and 1 is right-
34       aligned. If the module is rotated, it will follow the flow of the text.
35
36       rotate:
37            typeof: integer
38            Positive value to rotate the text label.
39
40       states:
41            typeof: array
42            A number of backlight states which get activated on certain
43       brightness levels.
44
45       on-click:
46            typeof: string
47            Command to execute when the module is clicked.
48
49       on-click-middle:
50            typeof: string
51            Command to execute when middle-clicked on the module using mouse‐
52       wheel.
53
54       on-click-right:
55            typeof: string
56            Command to execute when the module is right clicked.
57
58       on-update:
59            typeof: string
60            Command to execute when the module is updated.
61
62       on-scroll-up:
63            typeof: string
64            Command to execute when performing a scroll up on the module.
65
66       on-scroll-down:
67            typeof: string
68           Command to execute when performing a scroll down on the module.
69
70       smooth-scrolling-threshold:
71            typeof: double
72           Threshold to be used when scrolling.
73

EXAMPLE:

75           "backlight": {
76               "device": "intel_backlight",
77               "format": "{percent}% {icon}",
78               "format-icons": ["", ""]
79           }
80

STYLE

82#backlight
83
84
85
86                                  2022-05-23               waybar-backlight(5)
Impressum