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 bright‐ │
17       │           │       │ ness level, in ab‐  │
18       │           │       │ solute value        │
19       ├───────────┼───────┼─────────────────────┤
20       │percent    │ range │ The current bright‐ │
21       │           │       │ ness level, in per‐ │
22       │           │       │ cent                │
23       └───────────┴───────┴─────────────────────┘
24

CONFIGURATION

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

EXAMPLES

38           bar:
39             left:
40               - backlight:
41                   name: intel_backlight
42                   content:
43                     string: {text: "backlight: {percent}%"}
44

SEE ALSO

46       yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decora‐
47       tions(5)
48
49                                  2022-08-26       yambar-modules-backlight(5)
Impressum