Skip to content

Night light ​

[night-light] warms the screen color in the evening. With the default automatic schedule it follows sunset and sunrise at your location.

[night-light]
end-timestring, HH:MMnot set by default

When warmer colors end with schedule = "schedule", in local HH:MM time. Set both times to different values; the schedule can cross midnight.

scheduleone of default "automatic"

When your screen uses warmer colors. Automatic mode needs your location to work out sunset and sunrise.

  • "off"
  • "automatic"
  • "schedule"
start-timestring, HH:MMnot set by default

When warmer colors start with schedule = "schedule", in local HH:MM time. Set both times to different values; the schedule can cross midnight.

temperatureinteger from 1000 to 6500 default 4200

Your screen's nighttime color temperature, from 1000 to 6500 kelvin. Lower values look warmer; 6500 keeps the normal color.

transition-minutesinteger default 15

How many minutes the change between day and night color takes.

For fixed hours instead:

toml
[night-light]
schedule = "schedule"
start-time = "21:00"
end-time = "07:00"
temperature = 3500

glimpsectl night-light checks and overrides the running service without writing the file, through status, pause, resume, schedule and temperature. The guide covers them under Change it for now and Check what it is doing. The night light needs a compositor that lets clients set the display gamma.

Released under the BSD 3-Clause license.