Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to only show events if they are within X minutes #81

Closed
howardjohn opened this issue Jan 18, 2022 · 0 comments · Fixed by #83
Closed

Add option to only show events if they are within X minutes #81

howardjohn opened this issue Jan 18, 2022 · 0 comments · Fixed by #83

Comments

@howardjohn
Copy link
Contributor

howardjohn commented Jan 18, 2022

It would be great to have a flag to only show unstarted events that are up to X minutes way. This would be the pair to --hide-event-after. For example, could call this --show-event-before

I would expect something like this:
--show-event-before=15m --hide-event-after=15m to start showing an event 15m before it begins, and then remove it 15m after it starts.

This is useful to not crowd the bar when there are no nearby events. It can also serve as a 'notification' that I should be in a meeting now or soon.

I would be willing to send a PR for this if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant