xyproto / wallutils

:city_sunset: Utilities for handling monitors, resolutions, wallpapers and timed wallpapers
BSD 3-Clause "New" or "Revised" License
463 stars 17 forks source link

Rewrite the event system (used by `settimed`) #15

Closed xyproto closed 2 years ago

xyproto commented 4 years ago
xyproto commented 4 years ago

I created a new event system.

Using this package instead will hopefully fix the current issues.

eddsalkield commented 4 years ago

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.

xyproto commented 4 years ago

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.

xyproto commented 2 years ago

I have rewritten the event system and updated the settimed command.