Skip to content

clock_ratio

  • Kind: realtime
  • Safety: Safe
  • Shapes: ratio
OptionTypeRequiredDefaultDescription
timezoneIANA timezone (e.g. "Asia/Tokyo")nosystem localTimezone 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.
ShapeRenderers
ratioanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, gauge_circle, gauge_line
                      
day                   
                      
[[widget]]
id = "clock_ratio"
fetcher = "clock_ratio"
render = "gauge_circle"
day:  45% 
[[widget]]
id = "clock_ratio"
fetcher = "clock_ratio"
render = "gauge_line"