i3 / i3/i3status

Feature Proposal: adjusting time according to refresh interval

Open
#434 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
653
Forks
254
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.