summaryrefslogtreecommitdiffstats
path: root/tests/test_config.py
AgeCommit message (Collapse)AuthorFilesLines
38 hoursfeat: field validation helpersDanilo M.1-0/+24
Add validation functions for config parameters: valid_time() for HH:MM format (0-23:0-59), valid_temperature() for Kelvin range 1000-20000, and valid_gamma() for gamma range 0.0-2.0. These are used by the UI before saving config changes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
39 hoursfeat: read/write hyprsunset.confDanilo M.1-1/+17
Add read_config() and write_config() functions for managing hyprsunset configuration files. Implements file I/O operations with automatic parent directory creation and CONFIG_PATH default to ~/.config/hypr/hyprsunset.conf. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
39 hoursfeat: serialize profiles with day/night taggingDanilo M.1-1/+28
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
39 hoursfeat: parse hyprsunset.conf profilesDanilo M.1-0/+25
Implement minimal config parser with Profile dataclass and parse_config function. Regex-based parsing of hyprsunset.conf format with support for time, identity, temperature, and gamma fields. Foundation for later tasks (serialize, read/write, validation). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>