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
nog.events.on("win_detected", function (event)
-- event has the settings as payload so it would look like this:-- {-- type: "win_detected",-- payload: {-- ignore: false,-- workspace: nil,-- ...-- }-- }event.payload.ignore=trueend)
I am not too sure about how we could implement rules with such a system. The things I mentioned above are my first ideas.
We could then have more events for different things. A few examples:
win_unmanaged
win_managed
error (This could be interesting?)
Maybe a plugin could even emit custom events through here? Not too sure about this one as they could provide their own event management (Having one central place for events could be cleaner I guess)
The text was updated successfully, but these errors were encountered:
This could also be useful for installers. Not sure if you guys have this issue as well, but anytime I run an installer most of the time it is jumping all over the place. Not sure if there would be a way to detect this, but would be nice if possible.
This could also be useful for installers. Not sure if you guys have this issue as well, but anytime I run an installer most of the time it is jumping all over the place. Not sure if there would be a way to detect this, but would be nice if possible.
What if we replace rules with an event handler system.
So instead of writing the following
we could do this
I am not too sure about how we could implement rules with such a system. The things I mentioned above are my first ideas.
We could then have more events for different things. A few examples:
Maybe a plugin could even emit custom events through here? Not too sure about this one as they could provide their own event management (Having one central place for events could be cleaner I guess)
The text was updated successfully, but these errors were encountered: