Skip to content

Releases

v0.7.0 — Night Light

Choose a tag to compare

@github-actions github-actions released this 29 Nov 07:16

Night Light now changes your screen smoothly, without the flicker.

New

  • No more flicker. Night Light changes no longer blink the screen on most systems. (Thank you to @schrock for testing in #46.)
  • Changes fade in and out instead of jumping.
  • The screen updates live as you drag the sliders.
  • The warmth slider goes warmer and the brightness slider goes dimmer.

Fixed

  • Uninstalling no longer leaves the tint on.
  • Logging out and back in no longer loses the tint.
  • Toggling Night Light quickly no longer leaves it flipping on and off afterwards.
  • Arrow keys and Ctrl+scroll on a slider now save the change.
  • Plus many smaller fixes.

Other

  • The package is now called cosmic-ext-nightlight. It replaces the old one and keeps your settings, panel icon, dock pin and shortcut.

If you're upgrading from 0.6.1:

  • With the Flatpak, run flatpak uninstall io.github.cosmic_nightlight before installing. Then open Night Light Settings from your app launcher and click Update. Your settings and panel icon carry over.
  • On Arch, type y when pacman -U asks to remove cosmic-nightlight. Pressing Enter cancels.

Full changelog: v0.6.1...v0.7.0

Install

  1. Download cosmic-ext-nightlight_0.7.0-1_amd64.deb from the Assets section below.
  2. Open it with the COSMIC Store and click Install
    (or run sudo apt install ./cosmic-ext-nightlight_0.7.0-1_amd64.deb).
  3. Add the applet: COSMIC Settings → Desktop → Panel (or Dock) → Configure applets → Add applet → Night Light.

On Fedora, Arch Linux or NixOS, or want the Flatpak? See the install steps in the README.

v0.6.1 — Night Light

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:26

A small update to how Night Light describes itself. The app works the same as 0.6.0.

Other

  • Clearer store page. It now says Night Light is an unofficial app, not made by System76, and that it works on COSMIC where most night light apps don't yet.

Full changelog: v0.6.0...v0.6.1

Install

  1. Download cosmic-nightlight_0.6.1-1_amd64.deb from the Assets section below.
  2. Open it with the COSMIC Store and click Install
    (or run sudo apt install ./cosmic-nightlight_0.6.1-1_amd64.deb).
  3. Add the applet: COSMIC Settings → Desktop → Panel (or Dock) → Configure applets → Add applet → Night Light.

On Fedora, Arch Linux or NixOS, or want the Flatpak? See the install steps in the README.

v0.6.0 — Night Light

Choose a tag to compare

@github-actions github-actions released this 06 Nov 20:32

This release fixes a handful of bugs, including several with the screen and one with Bluetooth, and makes it easier to get your schedule running.

Fixed

  • The screen could stay on after going to sleep. A scheduled change that came while the display was asleep woke it up, and it stayed lit until you touched the keyboard or mouse. Now the change waits until the display is back on. (Thanks to @kbialek in #10.)
  • The screen flickered twice when you turned Night Light on or off with both the applet and the settings window open. It now changes once. (#12)
  • The screen could blink twice for one change when two changes came close together, like turning Night Light off twice in a row. It now blinks once. (#41)
  • Night Light could ignore you after switching to the Flatpak. If the old applet was still on your panel, turning Night Light on or off sometimes did nothing. Both now take turns, so every change goes through. (#21)
  • Bluetooth headphones no longer disconnect when Night Light changes. They go quiet for a moment while the screen flickers, then carry on. (Thanks to @KaKi87 in #9.)
  • Turning Night Light off fully restores your screen's colors. A faint warm tint could stay behind. (#24)
  • Plugging in a monitor tints it too. A newly connected or newly woken display could stay untinted until the next schedule change. It now gets the tint within a minute. (#25)
  • The Flatpak asked for your password on every change if an older .deb was still installed. It now asks once. (#37)
  • No more password prompts at sunset for accounts that aren't administrators. The schedule waits instead, and changes you make yourself still ask as before. (#32)
  • The .deb could install without everything it needs. On some Debian and Ubuntu systems Night Light then couldn't change the screen. (#28)
  • A schedule picked during the Flatpak's one-time setup could be lost if you changed another setting while the password prompt was open. (#31)
  • The screen could go completely black if the brightness in Night Light's settings file had been set below 50% by hand. It now stays at 50% or above, the same as the slider.

New

  • Packages for Fedora, Arch Linux and NixOS. Each release now includes a .rpm for Fedora 44 or newer and a package for Arch Linux, next to the .deb. NixOS users can add it to their system as a flake, as shown in the README. (Thanks to @abu-matterize for the Fedora package in #11, to @gschurck for prompting NixOS support, and to @nicolasdumitru, whose early NixOS module inspired it.)
  • Add to Panel now adds the applet for you. The button in the "Your schedule isn't running" notice puts Night Light on your panel in one click, instead of sending you to COSMIC Settings to do it.
  • The settings window notices the applet right away. When you add or remove Night Light from your panel, the "Your schedule isn't running" notice now appears or goes away at once, instead of up to 15 seconds later.
  • Uninstalling the flatpak now cleans up after itself. The small helper it installs on your system is removed a few seconds after you uninstall the app, so you no longer need to run anything yourself. (#16)
  • Turn it on and off with a keyboard shortcut. Click Add next to Keyboard Shortcut in Settings, and Super+Shift+N toggles Night Light. You can change the key in COSMIC Settings.

If you set up the flatpak with an earlier version, that helper stays behind when you uninstall. Remove it with:

sudo rm /usr/local/bin/cosmic-nightlight-helper /etc/polkit-1/rules.d/49-cosmic-nightlight.rules

Full changelog: v0.5.1...v0.6.0

Install

  1. Download cosmic-nightlight_0.6.0-1_amd64.deb from the Assets section below.
  2. Open it with the COSMIC Store and click Install
    (or run sudo apt install ./cosmic-nightlight_0.6.0-1_amd64.deb).
  3. Add the applet: COSMIC Settings → Desktop → Panel (or Dock) → Configure applets → Add applet → Night Light.

On Fedora, Arch Linux or NixOS, or want the Flatpak? See the install steps in the README.

v0.5.1 — Night Light

Choose a tag to compare

@github-actions github-actions released this 12 Sep 18:06

This release is a minor bug fix update, and adds the groundwork for translating the app into other languages.

Fixed

  • Repeated password prompts on Fedora Atomic. Setup said it worked, but every tint change still asked for a password, including the automatic ones at login and after resume. (Details. Reported by @sebag90 in #8.)

    If you're upgrading on Atomic, reinstall the host rule with one command. Updating the flatpak doesn't replace it. See the instructions.

  • Brightness changes no longer get lost. Moving the brightness and temperature sliders at the same time could leave the screen at the old brightness until the next temperature change.

New

  • The app can be translated. Adding a language takes one text file and no coding. Partial translations work, with anything missing shown in English. English is the only language so far, so nothing on screen changes yet. See docs/translating.md.

Full changelog: v0.5.0...v0.5.1

Install

  1. Download cosmic-nightlight_0.5.1-1_amd64.deb from the Assets section below.
  2. Open it with the COSMIC Store and click Install
    (or run sudo apt install ./cosmic-nightlight_0.5.1-1_amd64.deb).
  3. Add the applet: COSMIC Settings → Desktop → Panel (or Dock) → Configure applets → Add applet → Night Light.

Flatpak (optional): download cosmic-nightlight-0.5.1.flatpak and run flatpak install --user ./cosmic-nightlight-0.5.1.flatpak. It asks for your password once, the first time you turn it on. The .deb is still the recommended install until the app is in the COSMIC Store.

v0.5.0 — Night Light

Choose a tag to compare

@github-actions github-actions released this 01 Aug 04:23

The schedule can now follow the real sunset and sunrise, and the app can be built as a flatpak, which is the first step toward a COSMIC Store listing.

ℹ️ Nothing changes if you use the .deb. It installs everything it needs as before. The flatpak notes below only apply to the sandboxed build.

New

  • Sunset to Sunrise. A new schedule option that needs no setup. The tint starts at sunset and lifts at sunrise where you are, and shifts with the seasons. Your location comes from your time zone, so there's no location service, network lookup or coordinates to enter. If it can't work out the sun times, it falls back to your From/To times and tells you why.
  • Flatpak support. A sandboxed app can't change the screen's colors itself, so the flatpak uses a small helper on your system to do it. (Why it works this way)
  • Sets itself up on first use. The first time you turn it on, the flatpak installs that helper for you. You enter your password once, and never again.
  • A settings row when setup is needed. It appears only if you dismissed the first password prompt or the helper needs updating, and goes away once that's done.
  • Warns when nothing is running your schedule. Without the applet on your panel, the schedule stopped as soon as you closed the settings window, with no explanation. The settings window now tells you and offers two fixes: add the applet, or run it in the background.
  • Run in Background. Keeps your schedule running without the applet on your panel. It starts right away and at every login. It disappears by itself if you add the applet back.
  • Temperature slider now goes the intuitive way. Dragging right makes the screen warmer, with Less warm and More warm labels at each end. It used to be the other way around.
  • Follows your theme. The popup and settings window match your theme's styling, including frosted glass.
  • App icon and software center info. The app now has its own icon and shows up properly in software centers.

Fixed

  • Only one password prompt at a time. With both the applet and settings window open, you could get asked twice. Cancelling a prompt could also be followed by several more. Now one "no" means no.
  • No surprise password prompts. The app no longer shows a password prompt at sunset or after resume on a system that hasn't been set up. It only asks when you change something.
  • Applet and settings window no longer fight over the tint.
  • Uninstalling removes everything, including a flatpak install and the panel applet, and resets the screen tint.
  • The flicker warning now appears in the settings window too, not just the popup.

Full changelog: v0.4.0...v0.5.0

Install

  1. Download cosmic-nightlight_0.5.0-1_amd64.deb from the Assets section below.
  2. Open it with the COSMIC Store and click Install
    (or run sudo apt install ./cosmic-nightlight_0.5.0-1_amd64.deb).
  3. Add the applet: COSMIC Settings → Desktop → Panel (or Dock) → Configure applets → Add applet → Night Light.

v0.4.0 — Night Light

Choose a tag to compare

@github-actions github-actions released this 30 Jul 02:56

The applet now runs your schedule by itself, so nothing needs to run in the background.

⚠️ Changed: the Start on login toggle is gone, since the applet now does that job. Upgrading removes the old autostart entry. If you don't want the applet on your panel, run systemctl --user enable --now cosmic-nightlight.service instead.

New

  • Schedule to the minute. From and To now take hours and minutes (12- or 24-hour, following your COSMIC setting), and the Schedule row shows the result, e.g. Warm from 9:30PM to 6:00AM. Your old settings carry over.
  • Brightness slider. Dims the screen while the night light is on, down to 50%.
  • No background service needed. The applet checks the clock every 15 seconds and updates the screen when your schedule says to.

Fixed

  • Daytime schedules work. A schedule like 9:00AM → 5:00PM used to stay on all day and night.
  • The tint comes back after suspend. Before, it stayed off until the next scheduled change.
  • No more freezing when you flip the toggle or drag a slider.
  • One flicker per change, not several.
  • Sliders no longer jump while you're dragging them.
  • uninstall.sh now fully removes the systemd service.

Other

  • The settings window opens tall enough to show everything without scrolling.

Full changelog: v0.3.1...v0.4.0

Install

  1. Download cosmic-nightlight_0.4.0-1_amd64.deb from the Assets section below.
  2. Open it with the COSMIC Store and click Install
    (or run sudo apt install ./cosmic-nightlight_0.4.0-1_amd64.deb).
  3. Add the applet: COSMIC Settings → Desktop → Panel (or Dock) → Configure applets → Add applet → Night Light.

v0.3.1 — Night Light

Choose a tag to compare

@github-actions github-actions released this 15 Jun 21:23

A bug-fix release focused on the "Start on login" toggle and clean uninstalls.

Fixed

  • "Start on login" is honored again — the systemd user service is no longer globally enabled at install (dh_installsystemduser --no-enable), so the in-app toggle (an XDG autostart entry) is the single source of truth for whether the daemon runs at login.
  • Existing installs self-heal on upgrade — postinst undoes any prior global enablement and removes the orphaned pre-rename nightshift unit.
  • Tint no longer persists after uninstall — uninstall.sh stops and disables the daemon, removes the autostart entry, and resets the screen tint before deleting files — no more warm screen or a daemon re-tinting on next login.
  • Honest toggle after the rename — autostart cleans up and reports legacy nightshift autostart entries, so is_enabled() is truthful.

Other

  • Rewrote the README to lead with the panel/dock applet and the .deb + COSMIC Store install flow; build-from-source moved to a development section.

Full changelog: v0.3.0...v0.3.1

Install

  1. Download cosmic-nightlight_0.3.1-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.1-1_amd64.deb.)
  3. Add the applet to your bar: COSMIC Settings → Desktop → Panel (or
    Dock) → Configure applets → Add applet → Night Light.

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.

v0.2.0 — Night Shift

Choose a tag to compare

@github-actions github-actions released this 15 Jun 04:19

⚠️ TEMPORARILY PAUSED DOWNLOADS — please don't install 0.2.0.

A critical bug was found: autostarting the app on login crashes the graphical environment and drops you into a TTY command prompt. This was fixed in v0.3.0 — please use the latest release instead.

If you downloaded this version and are stuck at the TTY prompt:

  1. Log in with your username and password.
  2. Remove the autostart file: rm ~/.config/autostart/io.github.cosmic_nightshift.desktop
  3. Restart your system: sudo reboot

For now, please download v0.1.0 until this is patched. To uninstall this file, run this script — uninstall.sh. Thank you for your understanding.


Night Shift's UI moves out of a single window and into the COSMIC panel.

New

  • Panel applet — the on/off toggle and temperature slider now live in a status-bar applet popup, one click from the bar (or dock).
  • Separate settings window — autostart, schedule mode, sunset/sunrise hours, and the night temperature move to a dedicated --settings window.
  • Shared state — the applet, settings window, and --daemon all share state through cosmic_config, so a change in one shows up in the others.

Fixed / hardened

  • The daemon now applies the saved tint immediately on startup and follows the configured schedule, instead of waiting for the next transition.

Full changelog: v0.1.0...v0.2.0

Install

  1. Download cosmic-nightlight_0.2.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.2.0-1_amd64.deb.)
  3. Add the applet to your bar: COSMIC Settings → Desktop → Panel (or
    Dock) → Configure applets → Add applet → Night Shift.

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.