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

Feature Proposal: adjusting time according to refresh interval #434

Open
cherti opened this issue Oct 9, 2020 · 0 comments
Open

Feature Proposal: adjusting time according to refresh interval #434

cherti opened this issue Oct 9, 2020 · 0 comments

Comments

@cherti
Copy link
Contributor

cherti commented Oct 9, 2020

Currently, i3status has a refresh interval and all widgets are updated according to this interval.

Assume, for the sake of argument, we use a tztime widget in the form hh:mm, showing hours and minutes of the current time and an interval time of 60s.
In this configuration, the clock is behind the actual time for a certain amount of time (varying from 1s to 59s, depending on how i3status' refresh coincides with the actual minute turnover).

For some people it is preferrable to have the tztime widget advance the clock instead of lagging behind.

This could be implemented in two ways:

  1. introduce an optional bool-flag in tzdata and correct the time accordingly by the global interval value.
  2. introduce an optional correction value to tzdata by which the clocktime can be adjusted.

Would either of these options be merged upstream?

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

No branches or pull requests

1 participant