-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_config.toml
36 lines (29 loc) · 1.01 KB
/
example_config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
socket = "/var/run/led-matrix/led-matrix.sock"
[collector]
max_history_samples = 10
sample_interval = "170ms"
disk_names = [
{ Name = { Equal = "nvme0n1" } },
]
network_interfaces = [
{ Name = { Equal = "wlp1s0" } },
]
temperatures = [
{ StartsWith = "k10temp" },
]
[render]
max_brightness = 255
max_brightness_file = "/etc/led_matrix/max_brightness_value"
left = [
{ Cpu = { mid_point = 10, max_height = 10, k = 1.0 } },
{ AverageCpu = { start_x = 7, start_y = 20, end_y = 9, k = 1.0 } },
{ Network = { mid_point = 27, max_height = 7, k = 6.0 } }
]
right = [
{ Disk = { mid_point = 27, max_height = 7, k = 6.0 } },
{ Mem = { max_value = 100, start_y = 18, start_x = 0, end_x = 9, k = 3.0 } },
{ Mem = { max_value = 100, start_y = 19, start_x = 0, end_x = 9, k = 3.0 } },
{ Temp = { max_value = 100, start_y = 15, start_x = 0, end_x = 9, k = 3.0 } },
{ Temp = { max_value = 100, start_y = 16, start_x = 0, end_x = 9, k = 3.0 } },
{ Battery = { start_y = 0, max_height = 14 } }
]