Enumsยง
- Tray
Icon ๐Kind
Constantsยง
- TRAY_
ALPHA_ ๐THRESHOLD - TRAY_
FILL_ ๐RGB - TRAY_
ICON_ ๐BEDTIME_ BYTES - TRAY_
ICON_ ๐BYTES - TRAY_
ICON_ ๐INACTIVE_ BYTES - TRAY_
ICON_ ๐PAUSED_ BYTES - TRAY_
OUTLINE_ ๐RADIUS - TRAY_
OUTLINE_ ๐RGB
Functionsยง
- build_
profile_ ๐submenu - icon_
is_ ๐template - Whether the tray icon should be registered as a template image.
- outline_
glyph ๐ - Repaint a monochrome glyphโs body to
filland ring it withoutline, so it contrasts against both light and dark panels. Glyph-body alpha is preserved (anti-aliased edges stay smooth); the outline ring is fully opaque; everything else stays transparent. - outline_
glyph_ ๐for_ panels - profile_
menu_ ๐id - read_
profiles_ ๐blocking - resume_
break_ ๐label - seconds_
until_ tomorrow_ morning - setup
- spawn_
countdown_ ๐ticker - tooltip_
for ๐ - tooltip_
for_ ๐state - Tooltip that also explains the current visual state. When breaks are silently auto-suppressed (DND, camera, video, app-pause, off-hours) we append a โWhy: โฆโ line so a hover answers the โwhy is the icon dim?โ question without opening Settings.
- tray_
icon_ ๐kind_ for - tray_
image ๐ - Decode a tray-icon asset and adapt it to the platform: macOS keeps the raw black template (AppKit tints it), every other OS gets the light-fill/dark-outline recolour so the glyph survives a dark panel (#86).
- tray_
title_ ๐for