feat(config file): add a config file
This commit is contained in:
16
example_config.toml
Normal file
16
example_config.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
[battery]
|
||||
status_path = "/sys/class/power_supply/BAT1"
|
||||
power_source = "/sys/class/power_supply/ACAD/online"
|
||||
|
||||
[led]
|
||||
brightness_path = "/sys/class/leds/input0::capslock/brightness"
|
||||
|
||||
[led.blink]
|
||||
trigger_level = 15
|
||||
timing_formula = "1.7 + 18.5 * exp(-0.29 * p)"
|
||||
|
||||
[acpi_daemon]
|
||||
socket_path = "/run/acpid.socket"
|
||||
|
||||
[log]
|
||||
level = "INFO"
|
Reference in New Issue
Block a user