| Age | Commit message (Collapse) | Author | Files | Lines |
|
Adds a SBo-style SlackBuild (noarch, pyproject wheel install) plus the
desktop entry and scalable icon it installs to hicolor. .info DOWNLOAD/MD5
are placeholders pending a tagged release.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
sunrise-sunset.org sits behind Cloudflare, which rejects the default
Python-urllib User-Agent with 403 (error 1010). Send a normal UA in
_http_get so fetch_sun and geolocate get through.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
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>
|
|
Add daemon.py module to control hyprsunset daemon via subprocess:
- is_running() checks daemon status using pgrep
- live_preview() pushes temperature/gamma/identity to running daemon via hyprctl
- restart() kills existing daemon and launches new detached process
All subprocess calls are mocked in tests; no real processes are touched.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
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>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
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>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|