LinuxCommandLibrary

hyprsunset

TLDR

Start the blue light filter service

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

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.
The service can be configured via ~/.config/hypr/hyprsunset.conf or command-line options. Once running, settings can be adjusted dynamically using hyprctl commands without restarting the service.
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)
-g, --gamma PERCENT
Set gamma percentage

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

Copied to clipboard