Implement custom shader for window-open

This commit is contained in:
Ivan Molodetskikh
2024-05-15 19:38:29 +04:00
parent 496cd59df9
commit 5335ef454b
12 changed files with 490 additions and 61 deletions
+3
View File
@@ -143,6 +143,9 @@ impl Winit {
if let Some(src) = config.animations.window_close.custom_shader.as_deref() {
shaders::set_custom_close_program(renderer, Some(src));
}
if let Some(src) = config.animations.window_open.custom_shader.as_deref() {
shaders::set_custom_open_program(renderer, Some(src));
}
drop(config);
niri.layout.update_shaders();