For NVIDIA gpus, you cannot use gammastep 1. You must apply a hyprland red filter to save your eyes.

  1. Create a file ~/.config/hypr/shaders/nightlight.frag
  2. Write the following to the file:
//
// Example blue light filter shader.
// 
 
precision mediump float;
varying vec2 v_texcoord;
uniform sampler2D tex;
 
void main() {
 
    vec4 pixColor = texture2D(tex, v_texcoord);
 
    pixColor[2] *= 0.8;
 
    gl_FragColor = pixColor;
}
  1. Edit ~/.config/hypr/hyprland.conf and write:
decoration {
	... // whatever was here before
	screen_shader = ~/.config/hypr/shaders/nightlight.frag
}