ft: hyprland to home manager, mostly

This commit is contained in:
djaidjai committed 2026-10-02 01:39:23 +02:00
1 parent c7928a52a8
commit 0e3a6b116d
29 files changed
+885 -93

No files matched your search

@@ -0,0 +1,14 @@
// 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) {
// average brightness
float luma = dot(vec3(color.r, color.g, color.b), LumaFactors);
if (color.r < color.b) {
color = vec4(luma, luma, color.b, color.a);
} else {
color = vec4(color.r, luma, luma, color.a);
}
// color = vec4(color.r, luma, color.b, color.a);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.