Structs§
- Account
Config - Configuration for a single email account.
- Appearance
Config - Appearance / UI configuration.
- General
Config - General application settings.
- Logging
Config - Logging / retention configuration.
- MxrConfig
- Top-level mxr configuration.
- Render
Config - HTML rendering configuration.
- Search
Config - Search configuration.
- Snooze
Config - Snooze timing configuration.
Enums§
- Config
Error - Errors that can occur during config loading.
- Gmail
Credential Source - Send
Provider Config - Send provider configuration (tagged enum).
- Sort
Order - Sort order for search results (config-local, not reusing core’s).
- Sync
Provider Config - Sync provider configuration (tagged enum).
Functions§
- app_
instance_ name - Returns the runtime instance name used for data/socket namespacing.
- config_
dir - Returns the mxr config directory (e.g.
~/.config/mxron Linux/macOS). - config_
file_ path - Returns the path to the main config file.
- data_
dir - Returns the mxr data directory (e.g.
~/.local/share/mxron Linux). - load_
config - Load config from the default config file path, falling back to defaults.
- load_
config_ from_ path - Load config from a specific file path. Returns defaults if file doesn’t exist.
- load_
config_ from_ str - Load config from a TOML string.
- save_
config - Save config to the default config file path.
- save_
config_ to_ path - Save config to a specific path.
- socket_
path - Returns the IPC socket path for the current instance.