Skip to content

Releases

Night Light 1.2.1

Choose a tag to compare

@devSviat devSviat released this 27 Nov 08:02
5dfdbd4
  • Omarchy 4.5: default bar section is centerEnd (beside the clock); palette read as Commons.Color for Qt 6.12; all text is plain text.
  • The keyboard brightness is kept when the tint repaints the keyboard backlight.

Night Light 1.2.0

Choose a tag to compare

@devSviat devSviat released this 31 Oct 17:25
937bd29

The evening ramp now ends when it is dark instead of at one clock time, so it suits any latitude and season.

What changes

  • full_tint_by also accepts a twilight: civil_dusk, nautical_dusk or astronomical_dusk.
  • New full_tint_latest (default 21:00) caps a twilight target, and is used where that twilight never comes. null removes the cap.
  • New defaults: ramp_anchor is sunset, full_tint_by is astronomical_dusk. ramp_curve_power stays at 2.0, which keeps the start faint while it is still light.
  • Clock targets are read against the evening the schedule was built for. With a sunset past midnight, such as Reykjavik in June, 21:00 used to mean the next day and the ramp ran until morning; it now keeps the min_ramp_minutes floor.
  • The hyprsunset.conf header prints the morning start and the real dawn separately.
  • The panel captions no longer say "dusk" for a start that may be sunset.
  • Version bumped to 1.2.0.

Existing users

setup writes every key to config.json, so existing configs keep their values and their clock target. Only keys missing from the file take the new defaults. Night Light must be re-applied (nightlight apply) for a config edit to take effect, as before.

Tests

python3 tests/test_schedule.py and python3 tests/test_keyboard.py pass. New cases cover twilight targets, the cap, unreachable twilights, a sunset past midnight, validation and the header. The default schedule was also swept across 9 locations and 24 dates, including polar ones, with no overlapping or repeated steps.