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: object
42            A number of backlight states which get activated on certain
43       brightness levels. See waybar-states(5).
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. This
65       replaces the default behaviour of brightness control.
66
67       on-scroll-down:
68            typeof: string
69           Command to execute when performing a scroll down on the module.
70           This replaces the default behaviour of brightness control.
71
72       smooth-scrolling-threshold:
73            typeof: double
74           Threshold to be used when scrolling.
75
76       reverse-scrolling:
77            typeof: bool
78            Option to reverse the scroll direction.
79
80       scroll-step:
81            typeof: float
82            default: 1.0
83            The speed in which to change the brightness when scrolling.
84

EXAMPLE:

86           "backlight": {
87                "device": "intel_backlight",
88                "format": "{percent}% {icon}",
89                "format-icons": ["", ""]
90           }
91

STYLE

93#backlight
94
95
96
97                                  2023-08-16               waybar-backlight(5)
Impressum