Cleanup niri

This commit is contained in:
elkowar 2025-01-26 17:17:11 +01:00
parent f1d41e1130
commit 6e0e5dcba2
Signed by: ElKowar
GPG key ID: 862BA3D7D7760F13

View file

@ -127,8 +127,6 @@ screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
animations {
window-movement {
// duration-ms 200
// curve "ease-out-quad"
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
}
horizontal-view-movement {
@ -136,8 +134,6 @@ animations {
}
window-open {
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
// duration-ms 200
// curve "ease-out-quad"
custom-shader r"
float map(float value, float min1, float max1, float min2, float max2) {
return min2 + (value - min1) * (max2 - min2) / (max1 - min1);
@ -146,14 +142,12 @@ animations {
float cur = niri_clamped_progress;
if (coords_geo.x > cur) { return vec4(0.0); }
vec3 coord = vec3(map(coords_geo.x,0.0, cur, 0.0, 1.0 ), coords_geo.y, coords_geo.z);
return texture2D(niri_tex, (niri_geo_to_tex * coord).st);
return texture2d(niri_tex, (niri_geo_to_tex * coord).st);
}
"
}
window-close {
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
// duration-ms 200
// curve "ease-out-quad"
custom-shader r"
float map(float value, float min1, float max1, float min2, float max2) {
return min2 + (value - min1) * (max2 - min2) / (max1 - min1);
@ -208,12 +202,6 @@ window-rule {
open-floating true
}
// window-rule {
// match is-active-in-column=false;
// max-height 100;
// min-height 100;
// }
window-rule {