You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really enjoy this fork, but I haven’t found a way to have effects that vary as time goes on.
I believe we could extend the behavior of --effect-custom by adding a switch --effect-custom-loop.
The lib would have a function with the signature looking like struct timespec swaylock_effect(uint32_t *data, int width, int height, int scale) where the returned value would be the expiry value in a struct loop_timer and we would re-execute this function again after expiry run out
I am ok with implementing this but I would love some feedback first.
The text was updated successfully, but these errors were encountered:
I really enjoy this fork, but I haven’t found a way to have effects that vary as time goes on.
I believe we could extend the behavior of
--effect-custom
by adding a switch--effect-custom-loop
.The lib would have a function with the signature looking like
struct timespec swaylock_effect(uint32_t *data, int width, int height, int scale)
where the returned value would be theexpiry
value in astruct loop_timer
and we would re-execute this function again afterexpiry
run outI am ok with implementing this but I would love some feedback first.
The text was updated successfully, but these errors were encountered: