LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

wlsunset

Wayland screen color temperature adjuster

TLDR

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

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
copy
sudo dnf install wlsunset
copy
sudo pacman -S wlsunset
copy
sudo apk add wlsunset
copy
sudo zypper install wlsunset
copy
nix profile install nixpkgs#wlsunset
copy

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

Copied to clipboard
Kai