@[email protected] to [email protected] • 1 year agoRedshift Alternative?message-square13fedilinkarrow-up116arrow-down10file-text
arrow-up116arrow-down1message-squareRedshift Alternative?@[email protected] to [email protected] • 1 year agomessage-square13fedilinkfile-text
minus-square@ForynGilnithlink2•1 year agoUsing hyprland+nvidia, I’ve had good luck using this screen_shader command: hyprctl keyword decoration:screen_shader /path/to/flux.glsl Where flux.glsl is // blue light filter shader // values from https://reshade.me/forum/shader-discussion/3673-blue-light-filter-similar-to-f-lux precision mediump float; varying vec2 v_texcoord; uniform sampler2D tex; void main() { vec4 pixColor = texture2D(tex, v_texcoord); // green pixColor[1] *= 0.855; // blue pixColor[2] *= 0.725; gl_FragColor = pixColor; }
Using hyprland+nvidia, I’ve had good luck using this screen_shader command:
hyprctl keyword decoration:screen_shader /path/to/flux.glsl
Where
flux.glsl
is// blue light filter shader // values from https://reshade.me/forum/shader-discussion/3673-blue-light-filter-similar-to-f-lux precision mediump float; varying vec2 v_texcoord; uniform sampler2D tex; void main() { vec4 pixColor = texture2D(tex, v_texcoord); // green pixColor[1] *= 0.855; // blue pixColor[2] *= 0.725; gl_FragColor = pixColor; }