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

NAME

6       backlight - This module reads monitor backlight status
7

DESCRIPTION

9       This module reads monitor backlight status from /sys/class/backlight,
10       and uses udev to monitor for changes.
11

TAGS

13       ┌───────────┬───────┬──────────────────────────────────────────────────┐
14Name       Type  Description                                      
15       ├───────────┼───────┼──────────────────────────────────────────────────┤
16       │brightness │ range │ The current brightness level, in absolute value  │
17       ├───────────┼───────┼──────────────────────────────────────────────────┤
18       │percent    │ range │ The current brightness level, in percent         │
19       └───────────┴───────┴──────────────────────────────────────────────────┘
20

CONFIGURATION

22       ┌─────┬────────┬─────┬──────────────────┐
23Name Type   Req Description      
24       ├─────┼────────┼─────┼──────────────────┤
25       │name │ string │ yes │ The backlight    │
26       │     │        │     │ device's name    │
27       │     │        │     │ (one of the      │
28       │     │        │     │ names in         │
29       │     │        │     │ /sys/class/back‐ 
30       │     │        │     │ light)           │
31       └─────┴────────┴─────┴──────────────────┘
32

EXAMPLES

34           bar:
35             left:
36               - backlight:
37                   name: intel_backlight
38                   content:
39                     string: {text: "backlight: {percent}%"}
40

SEE ALSO

42       yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decora‐
43       tions(5)
44
45                                  2023-07-22       yambar-modules-backlight(5)
Impressum