Skip to main content

Module tray_countdown

Module tray_countdown 

Source

Enums§

TrayCountdownSnapshot
One-second snapshot of what the tray ticker should display.

Functions§

decide_tray_snapshot 🔒
format_countdown
Format remaining seconds as M:SS (or MM:SS past ten minutes) for the tray title. macOS/Linux only; Windows trays don’t render text.
pick_countdown_secs
Select which countdown the tray should show according to the user’s tray_countdown_target setting. "short" returns the micro timer, "long" returns the long timer, anything else returns whichever is sooner (the default "next" behaviour).