aliveline/config.toml
2ndbeam 28b842b8c4 feat: stdout logging capabilities
- Added feature "stdout_logging" (see README)
- Added config.loglevel option (see config.toml)
- Logging some common things
- Hopefully fix on_new_day_started
2026-05-08 16:04:39 +03:00

53 lines
1.7 KiB
TOML

# Default Aliveline config
# Set stdout logging level from 0 to 5, higher is more verbose
loglevel = 3
# Paths may be relative to config directory or absolute
[paths]
logs = "logs"
# Colors may be defined either as alias (string) or as 0xAARRGGBB (integer)
# Aliases must be declared here, otherwise fallback color is used
[colors.aliases]
background = 0xFF_808080
timeline = 0xFF_A9A9A9
black = 0xFF_000000
white = 0xFF_FFFFFF
"very aggressive pink color to use with fallback so you definitely notice it" = 0xFF_FF00E7
[colors]
# Timeline background
background = "background"
# Timeline foreground
timeline = "timeline"
# Background text (timestamps, event names, etc.)
text = "black"
# Used when alias was not found
fallback = "very aggressive pink color to use with fallback so you definitely notice it"
# Event colors are chosen pseudorandomly from this array, respecting each color's priority
# Event color consists of:
# - Background color (default: black)
# - Text color (default: same as colors.text)
# - Priority (default: 1)
# Full example: { background = "color", text = "color", priority = 1337 }
events = [
{ background = 0xff_97f9f9 },
{ background = 0xff_a4def9 },
{ background = 0xff_c1e0f7 },
{ background = 0xff_cfbae1 },
{ background = 0xff_c59fc9 },
{ background = 0xff_4e3d42, text = "white" },
{ background = 0xff_c9d5b5 },
{ background = 0xff_2d82b7 },
{ background = 0xff_556f44 },
{ background = 0xff_772e25, text = "white" },
{ background = 0xff_c44536 },
{ background = 0xff_7c6a0a },
{ background = 0xff_babd8d },
{ background = 0xff_ffdac6 },
{ background = 0xff_fa9500 },
{ background = 0xff_eb6424 },
]