Skip to content

v0.3.0 — Night Light

Choose a tag to compare

@danielcwtts danielcwtts released this 15 Jun 19:09

The project has been renamed from "Night Shift" to "Night Light." Crates, binaries, the app ID, desktop entries, the polkit rule, and the systemd unit are all renamed (cosmic-nightlight*, io.github.cosmic_nightlight). The repository moved to danielcwtts/cosmic-nightlight (the old URL redirects).

⚠️ Breaking: settings now live under ~/.config/cosmic/io.github.cosmic_nightlight/, so configuration from earlier versions is not migrated automatically. Re-run ./scripts/install.sh, and remove any old cosmic-nightshift* binaries and the old polkit rule if you installed them (or use ./scripts/uninstall.sh against an old checkout).

New

  • Manual override — toggling the tint on/off against the schedule now forces that state until the next sunset/sunrise transition, after which automatic scheduling resumes.
  • Live settings sync — the applet, settings window, and daemon share state through a cosmic_config file watcher, so a change in one is reflected in the others immediately.
  • Settings-window parity — it mirrors the applet's on/off toggle and temperature slider, shows a schedule status line (e.g. "On until 6:00AM"), follows the system 12/24-hour clock, and enforces a minimum window size.

Fixed / hardened

  • The daemon waits for the graphical session to be the foreground VT before touching DRM at login, avoiding a race that could strand you on a spare TTY.
  • Failed gamma applies now retry with backoff instead of being assumed successful (fixes the tint occasionally not coming up at login).

Other

  • Added scripts/uninstall.sh.

Full changelog: v0.2.0...v0.3.0

Install

  1. Download cosmic-nightlight_0.3.0-1_amd64.deb from the Assets section below.
  2. Open the downloaded file with the COSMIC Store and click Install.
    (Or from a terminal: sudo apt install ./cosmic-nightlight_0.3.0-1_amd64.deb.)
  3. Add the applet to your bar: COSMIC Settings → Desktop → Panel (or
    Dock) → Configure applets → Add applet → Night Light.