Skip to content

v0.1.0 — Night Shift

Choose a tag to compare

@github-actions github-actions released this 15 Jun 03:28

First public release of Night Shift — a night-light / color-temperature utility for the COSMIC desktop (Pop!_OS).

COSMIC's compositor doesn't yet expose a gamma protocol, so tools like wlsunset, gammastep, and redshift can't tint the screen. Night Shift works around that by writing the gamma ramp straight to the kernel's DRM/KMS layer through a small root helper.

Highlights

  • Direct gamma control — warms the screen by writing gamma ramps to DRM/KMS, finer-grained than DDC/CI presets and working on laptop internal panels.
  • GUI app — an on/off toggle, a color-temperature slider, and a schedule selector (Manual or Sunset to Sunrise).
  • Background daemon — a --daemon mode that applies the tint and follows the schedule.
  • Minimal privileged surface — a three-crate workspace (nightshift-core, nightshift-helper, cosmic-nightshift) keeps the root code (invoked via polkit/pkexec) tiny and separate from the GUI.
  • Packaged & automated — ships as a .deb, with a GitHub Actions workflow that builds the package and publishes releases on tag.

Full changelog: https://github.com/danielcwtts/cosmic-nightshift/commits/v0.1.0

Install

  1. Download cosmic-nightshift_0.1.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-nightshift_0.1.0-1_amd64.deb.)
  3. Launch Night Shift from your app library (or run cosmic-nightshift)
    to open the on/off toggle and temperature window.