Skip to main content

Module types

Module types 

Source

Structs§

BreakEvent
Payload emitted to the renderer when a break starts.
LastBreakInfo
The most recently skipped or postponed break, or None if none yet in this session. Powers the tray’s “Resume last skipped break” item.
MonitorRect
Pixel rectangle for a monitor in the desktop’s coordinate space. Used to position overlay windows. Origin can be negative on multi-monitor setups where the primary is not the top-left display.
PostponeState
Per-break postpone budget exposed to the renderer.

Enums§

BreakDelivery
How a break surfaces to the user. Driven by per-kind settings (micro_break_mode / long_break_mode).
BreakKind
Which kind of break a scheduled event represents.
SuppressReason
Which auto-suppression rule is currently silencing breaks, exposed to the tray so the user can tell why the icon is inactive.