Implement custom shader for window-close anim

This commit is contained in:
Ivan Molodetskikh
2024-05-12 09:52:21 +04:00
parent 29c7552852
commit 9004c83954
14 changed files with 361 additions and 30 deletions
+3
View File
@@ -140,6 +140,9 @@ impl Winit {
if let Some(src) = config.animations.window_resize.custom_shader.as_deref() {
shaders::set_custom_resize_program(renderer, Some(src));
}
if let Some(src) = config.animations.window_close.custom_shader.as_deref() {
shaders::set_custom_close_program(renderer, Some(src));
}
drop(config);
niri.layout.update_shaders();