hyprsunset

blue light filter for Hyprland, the dynamic tiling Wayland compositor

TLDR

Start the blue light filter service
$ hyprsunset
Start with specific temperature and gamma
$ hyprsunset -t [4000] -g [90]
Adjust temperature while running (via hyprctl)
$ hyprctl hyprsunset temperature [4000]
Adjust gamma while running (via hyprctl)
$ hyprctl hyprsunset gamma [90]
Reset temperature to default (6000K)
$ hyprctl hyprsunset reset temperature
Reset gamma to default (100%)
$ hyprctl hyprsunset reset gamma

SYNOPSIS

hyprsunset [options]

DESCRIPTION

hyprsunset is a blue light filter for Hyprland, the dynamic tiling Wayland compositor. It adjusts screen color temperature to reduce blue light emission, which can help reduce eye strain and improve sleep quality during evening computer use.Once running, settings can be adjusted dynamically using hyprctl commands without restarting the service. This method is preferred over screen shaders as it will not be captured via recording or screenshots.Lower temperature values (e.g., 3000K-4000K) produce warmer, more orange-tinted colors suitable for night use. The default 6000K represents standard daylight white.

PARAMETERS

-t, --temperature KELVIN

Set color temperature in Kelvin (lower is warmer, default: 6000K)
-g, --gamma PERCENT
Set gamma percentage (default: 100%)
--identity
Disable temperature adjustments; only gamma changes take effect

INSTALL

sudo pacman -S hyprsunset
sudo zypper install hyprsunset
nix profile install nixpkgs#hyprsunset

CAVEATS

Only works with Hyprland compositor. Requires Hyprland to be running. Changes affect all monitors. May interfere with color-accurate work like photo editing.

HISTORY

hyprsunset is part of the Hyprland ecosystem, created by Vaxry. It provides functionality similar to redshift or gammastep but specifically designed for the Hyprland Wayland compositor.

SEE ALSO

hyprctl(1), redshift(1), gammastep(1)