1waybar-backlight(5) File Formats Manual waybar-backlight(5)
2
3
4
6 waybar - backlight module
7
9 The backlight module displays the current backlight level.
10
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 rotate
28 typeof: integer
29 Positive value to rotate the text label.
30
31 states
32 typeof: array
33 A number of backlight states which get activated on certain
34 brightness levels.
35
36 on-click
37 typeof: string
38 Command to execute when the module is clicked.
39
40 on-click-middle:
41 typeof: string
42 Command to execute when middle-clicked on the module using mouse‐
43 wheel.
44
45 on-click-right
46 typeof: string
47 Command to execute when the module is right clicked.
48
49 on-scroll-up
50 typeof: string
51 Command to execute when performing a scroll up on the module.
52
53 on-scroll-down
54 typeof: string
55 Command to execute when performing a scroll down on the module.
56
57 smooth-scrolling-threshold
58 typeof: double
59 Threshold to be used when scrolling.
60
62 "backlight": {
63 "device": "intel_backlight",
64 "format": "{percent}% {icon}",
65 "format-icons": ["", ""]
66 }
67
69 · #backlight
70
71
72
73 2020-04-11 waybar-backlight(5)