ft: hyprland to home manager, mostly
This commit is contained in:
1 parent
c7928a52a8
commit
0e3a6b116d
29 files changed
+885
-93
No files matched your search
@@ -0,0 +1,9 @@
|
||||
// Values obtained from: http://en.wikipedia.org/wiki/Grayscale#Luma_coding_in_video_systems
|
||||
vec3 LumaFactors = vec3(0.299, 0.587, 0.114);
|
||||
|
||||
void windowShader(inout vec4 color) {
|
||||
// Desaturate to luma only
|
||||
float luma = dot(vec3(color.r, color.g, color.b), LumaFactors);
|
||||
|
||||
color.rgb = vec3(luma, luma, luma);
|
||||
}
|
||||