-
Notifications
You must be signed in to change notification settings - Fork 471
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
Fix #89 support running a block only once #684
Conversation
247148b
to
b135948
Compare
TLDR: "maybe"
|
I was mulling whether we should go with a mixed keyword/numeric option like you've proposed here or just purely numeric based with i3blocks interval options:
|
Thanks for your feedback: I'll rebase and resolve conflicts. |
Fix #89
# interval not provided, use default value
This PR modifies the
Block
trait and adds anUpdate
enum:What do you think?
How to try this PR
status.toml:
./target/debug/i3status-rs test.toml
Then check the first block is updated every 2 seconds, the 2nd block only once and 3rd block every 10 seconds.
TODO before merge
Refresh
toUpdate
?