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-update:
50 typeof: string
51 Command to execute when the module is updated.
52
53 on-scroll-up:
54 typeof: string
55 Command to execute when performing a scroll up on the module.
56
57 on-scroll-down:
58 typeof: string
59 Command to execute when performing a scroll down on the module.
60
61 smooth-scrolling-threshold:
62 typeof: double
63 Threshold to be used when scrolling.
64
66 "backlight": {
67 "device": "intel_backlight",
68 "format": "{percent}% {icon}",
69 "format-icons": ["", ""]
70 }
71
73 · #backlight
74
75
76
77 2021-02-10 waybar-backlight(5)