Module config

Module config 

Source
Expand description

Configuration module for Open Sesame

Provides configuration loading, validation, and merging with XDG inheritance.

Re-exports§

pub use validator::ConfigValidator;
pub use validator::Severity;
pub use validator::ValidationIssue;

Modules§

validator
Configuration validation

Structs§

Color
RGBA color with hex string serialization
Config
Main configuration structure
KeyBinding
Configuration for a single key binding
Settings
Global settings for timing and appearance

Enums§

LaunchConfig
Launch configuration - supports simple command string or advanced config

Functions§

load_config
Loads configuration with XDG inheritance.
load_config_from_paths
Loads config from explicit paths (for –config flag).
user_config_dir
Returns the user config directory.
user_config_path
Returns the user config file path.