Open neon64 opened 5 years ago
That kind of transition would be really nice actually. I don't think it's something we need wlroots to support; from what I understand, swaylock just gives the compositor a buffer of RGBA pixels, and we could just start with a low alpha and gradually increase it.
I don't know how to actually implement that in practice though, but I'll experiment with it a bit.
I finally got around to implementing a fade in animation: https://github.com/mortie/swaylock-effects/commit/a1cbba6b9c5e07fc7877989f60e0f6b630606885
If somebody is interested I have a WIP branch for fading out (it works when we fade in so I suppose I am not missing much for it to work all the time)
Are there any plans to also implement fade out?
Is this still being worked on?
Probably not, this fork has not been updated to implement the latest session locking protocols. I have not touched my attempt at fade out in a very long time either
Would you want to close this then or continue development? I actually would appreciate this feature!
I have gone back to upstream swaylock after swaylock-effects and forks where people tried to continue the work after the original stopped being maintained. I wasn't even very familiar with the codebase when I tried to implement the fade out, and I don't think I'll try again now, sorry. You can try going through the forks but I don't know if any of them are active and up to date with the latest session locking protocol
This is perhaps a bit of a long shot considering sway itself doesn't support animations yet, but I was wondering if it is technically possible for swaylock-effects to do transitions from the desktop to the lockscreen. an MVP would perhaps be a simple alpha fade.
Is this something that can be implemented here alone, or does it require wlroots support?