You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sunsetr is now published on crates.io. Install or update it with cargo install sunsetr, alongside the AUR and Nix packages.
Fixed
Fixed the time-until-next-transition countdown going stale after switching geo location or after a config change that only shifts timing.
Fixed automatic timezone detection on systems where /etc/localtime does not resolve under /usr/share/zoneinfo, such as NixOS.
Fixed clock transition times resolving incorrectly during the daylight-saving fall-back hour, when the local time repeats.
Fixed transition windows that cross local midnight being anchored to the wrong day.
Fixed preset state files being written non-atomically, which could leave a truncated file behind if a write was interrupted.
On first run, a geo.toml that cannot be parsed is now left untouched while the default config is created, extending the earlier fix that preserved readable coordinate files. (#55)
sunsetr stop now exits with a non-zero status when it fails, so scripts can detect an unsuccessful stop.
Fixed sunsetr status --follow not detecting when the sunsetr process closed the connection.
Configurations that leave no stable day or night period are now rejected with an error instead of producing a broken schedule.
Fixed clock-time config validation truncating HH:MM:SS times to whole minutes, which could wrongly reject a config with a sub-minute stable period, accept a night or day just under the one-hour minimum, or misreport a sub-minute window overlap as a missing stable period.