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
Allow a refresh/update interval to be specified with custom effects, for example:
swaylock --effect-custom /path/to/effect.so --effect-custom-interval 1
# or
swaylock --effect-custom <interval>;<path to .so>
Why:
Lets users make their own custom integrations w/ swaylock-effects, e.g. a battery indicator, playerctl indicator, weather indicator, et cetera.
I was trying to solve #41 for myself using the custom effect feature, but unfortunately it turns out that the effect only gets ran once. It would be nice to support custom effects as a means to get other integrations in swaylock, instead of having issues like #41 or #17 sit open for a while without a solution
LMK if you wouldn't mind if I made a PR for this
The text was updated successfully, but these errors were encountered:
Sorry for the late reply, this has been at the bottom of my backlog really. The changes would indeed be too invasive, after some experimenting, as the effects feature hadn't been designed with refreshing in mind, nor for displaying information, and I don't think it would be the right call to modify it to do that. A plugin system could be implemented that does something similar, but a simpler solution would be #65 and I think that might be a better choice
Allow a refresh/update interval to be specified with custom effects, for example:
Why:
Lets users make their own custom integrations w/ swaylock-effects, e.g. a battery indicator, playerctl indicator, weather indicator, et cetera.
I was trying to solve #41 for myself using the custom effect feature, but unfortunately it turns out that the effect only gets ran once. It would be nice to support custom effects as a means to get other integrations in swaylock, instead of having issues like #41 or #17 sit open for a while without a solution
LMK if you wouldn't mind if I made a PR for this
The text was updated successfully, but these errors were encountered: