clock_ratio
- Kind: realtime
- Safety: Safe
- Shapes:
ratio
Options
Section titled “Options”| Option | Type | Required | Default | Description |
|---|---|---|---|---|
timezone | IANA timezone (e.g. "Asia/Tokyo") | no | system local | Timezone the ratio is computed in. Omit to follow the system clock. |
period | "day" | "year" | "month" | "week" | "quarter" | "hour" | no | "day" | Named period whose elapsed fraction becomes the ratio. |
Compatible renderers
Section titled “Compatible renderers”| Shape | Renderers |
|---|---|
ratio | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, gauge_circle, gauge_line |
Preview
Section titled “Preview”ratio via gauge_circle
Section titled “ratio via gauge_circle”██████████████████ ██████████████████day ██████████████████
[[widget]]id = "clock_ratio"fetcher = "clock_ratio"render = "gauge_circle"ratio via gauge_line
Section titled “ratio via gauge_line”day: ▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░ 45%
[[widget]]id = "clock_ratio"fetcher = "clock_ratio"render = "gauge_line"