feat(config file): add a config file

This commit is contained in:
2025-09-23 22:46:19 -04:00
parent b4715770db
commit 80dde85a2e
11 changed files with 229 additions and 22 deletions

16
example_config.toml Normal file
View 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"