wlsunset

Wayland screen color temperature adjuster

TLDR

Start with location
$ wlsunset -l [51.5] -L [-0.1]
Manual temperature
$ wlsunset -t [4000] -T [6500]
Set gamma
$ wlsunset -g [0.9]
Specify output
$ wlsunset -o [DP-1]

SYNOPSIS

wlsunset [-l lat] [-L lon] [-t temp] [-T temp] [options]

DESCRIPTION

wlsunset is a day/night screen color temperature daemon for Wayland compositors built on wlroots. It automatically adjusts display color temperature based on the time of day, shifting to warmer tones in the evening to reduce blue light exposure.Sunrise and sunset times are calculated from the provided geographic coordinates, creating a smooth transition between configurable day and night color temperatures. The gamma value can also be adjusted for additional display tuning. The tool runs as a background daemon and is the Wayland-native equivalent of redshift or f.lux.

PARAMETERS

-l LAT

Latitude.
-L LON
Longitude.
-t TEMP
Night temperature.
-T TEMP
Day temperature.
-g GAMMA
Gamma value.
-o OUTPUT
Specific output.

INSTALL

sudo apt install wlsunset
sudo dnf install wlsunset
sudo pacman -S wlsunset
sudo apk add wlsunset
sudo zypper install wlsunset
nix profile install nixpkgs#wlsunset

CAVEATS

Wayland only. wlroots required. Location needed for auto.

HISTORY

wlsunset was created as a Wayland-native alternative to redshift for adjusting screen color temperature.

SEE ALSO

redshift(1), gammastep(1)