Notifications
Native notifications. Optionally forwarded to Telegram (see Telegram bridge).
notify
Section titled “notify”ht notify --title "Build" --body "Done"ht notify --title "Tests failed" --body "5 failures in src/" --level errorht notify --title "Done" --body "Tests passed" --sound finishPosts a system notification. The notification also appears in τ-mux’s sidebar log.
| Flag | Purpose |
|---|---|
--title <s> | Notification title (required). |
--body <s> | Body text. |
--level <s> | info (default), success, warn, error. |
--sound <s> | finish plays the bundled audio/finish.mp3. Add custom files via the asset loader. |
--surface <id> | Override which surface owns the notification (defaults to focused). |
list-notifications
Section titled “list-notifications”ht list-notificationsht list-notifications --jsonLists active notifications (the ones still in the sidebar pile). Includes title, body, level, age, surface id.
clear-notifications
Section titled “clear-notifications”ht clear-notificationsht clear-notifications --surface surface:3Clears all notifications (or the targeted surface’s). The native banner closes automatically; this only affects the sidebar pile.
With Telegram forwarding
Section titled “With Telegram forwarding”When Settings → Telegram → Forward notifications is enabled, every ht notify call is also sent to the configured Telegram chat. Useful for “build done” pings while you’re away from the desk.