Closed xyproto closed 2 years ago
I created a new event system.
Using this package instead will hopefully fix the current issues.
I found gocron, an event scheduler, which might help. It's forked from a repo with 2k stars after the previous developer stopped maintaining it, and seems more flexible than event2
.
Thanks! I will consider using it. event2
was written especially with settimed
in mind, with as little complexity (and flexibility) as possible, just as much as is needed. If that doesn't work out, I'll probably use gocron
instead.
I have rewritten the event system and updated the settimed
command.
gnometimed
andsimpletimed
.settimed
, the transition over midnight (23:59 to 00:00) is not handled correctly.Triggered transition event at 13:20 (277% complete)
).cron
or thesystemd
trigger system instead, but I think it would be nice if everything that has t o do with events was contained within a module that could be used by thesettimed
application.sway
, sometimes multiple events are triggered in rapid succession, which is not correct.