Open Aylur opened 7 months ago
sounds trivial, feel free to try yourself.
a simple RENDER_LAST_MOMENT
event hook should be enough
Hi, I actually made something fairly similar recently. I am working on a tool, Ricer, that aims to make ricing all apps as seamless as possible. I wanted to have something similar to a transition you described above so I made a simple Python script that takes a screenshot and then fades it out. I plan to add more transitions, similar to swww, as soon as I have some free time. Shifter (Most of the delay seen in the video is caused by the glava taking a really long time to start, you can edit my fish function linked in the shifter repo so it waits less to start the fade)
This could be done with widgets by creating a screenshot and easing out its opacity which is what gnome is actually doing, but instead of a screenshot it gets the rendered rectangle from the compositor, so I feel like it would be better to have this as a feature at the compositor level, because in my experience its kind of expensive and slow for GTK to render a fullscreen image and it doesn't feel as smooth
So my request is for a plugin that would expose a dispatcher that would ease in the next frame.
https://github.com/hyprwm/hyprland-plugins/assets/104676705/a87c6c1f-0610-4423-b74b-67f80ce7269a