treewide: set up rustfmt and taplo with custom rules
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I794f9152bb02e3dd91c9738369b94fc66a6a6964
This commit is contained in:
parent
a4a0b9135a
commit
ffae695240
27 changed files with 1851 additions and 1618 deletions
|
|
@ -4,10 +4,10 @@
|
|||
# Directories to load scanner plugins from
|
||||
# Set via PSCAND_SCANNER_DIRS environment variable or configure here
|
||||
scanner_dirs = [
|
||||
# Examples (uncomment and adjust for your system):
|
||||
# "/usr/lib/pscand/scanners",
|
||||
# "/var/lib/pscand/scanners",
|
||||
"~/.local/share/pscand/scanners",
|
||||
# Examples (uncomment and adjust for your system):
|
||||
# "/usr/lib/pscand/scanners",
|
||||
# "/var/lib/pscand/scanners",
|
||||
"~/.local/share/pscand/scanners",
|
||||
]
|
||||
|
||||
# Where to store log files
|
||||
|
|
@ -27,19 +27,19 @@ retention_days = 7
|
|||
|
||||
# Per-scanner configuration
|
||||
[scanners.system]
|
||||
enabled = true
|
||||
interval_secs = 5 # Override default 1-second interval
|
||||
enabled = true
|
||||
interval_secs = 5 # Override default 1-second interval
|
||||
|
||||
[scanners.sensor]
|
||||
enabled = true
|
||||
interval_secs = 10 # Sensors don't change as fast
|
||||
enabled = true
|
||||
interval_secs = 10 # Sensors don't change as fast
|
||||
|
||||
[scanners.power]
|
||||
enabled = true
|
||||
interval_secs = 30 # Battery status changes slowly
|
||||
enabled = true
|
||||
interval_secs = 30 # Battery status changes slowly
|
||||
|
||||
[scanners.proc]
|
||||
enabled = true
|
||||
enabled = true
|
||||
interval_secs = 5
|
||||
|
||||
# Example: Custom scanner with extra parameters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue