d4hines / beth

3 stars 0 forks source link

complice xmobar isn't working #12

Open d4hines opened 2 years ago

d4hines commented 2 years ago
d4hines commented 2 years ago

The picom script for grayscale:

picom -b --backend glx --glx-fshader-win "
            uniform sampler2D tex;
                void main() {
                    vec4 c = texture2D(tex, gl_TexCoord[0].xy);
                    float y = dot(c.rgb, vec3(0.299, 0.587, 0.114));
                    gl_FragColor = vec4(y, y, y, 1.0);
               }"