Bell notifications
A bell while the terminal is hidden posts a desktop notification naming the
tab's title. printf '\a' triggers the bell. On Windows DropTerm posts the
toast under its own identity, so it says DropTerm, not PowerShell.
Delivery goes straight to the freedesktop notification interface over D-Bus, which cosmic-notifications serves on COSMIC. COSMIC implements no Notification portal, so no portal is involved. Rules:
| Rule | What it does |
|---|---|
| Only while hidden | when the overlay is visible, the tab-bar 🔔 marker alone carries the signal. |
| One notification per tab per hide period | a bell storm (while true; printf '\a'; done) yields a single notification - the per-tab latch clears the next time the terminal is shown. |
Toggle with bell_notification_enabled (default true, the Dropdown page of the Settings) | it applies at the next bell - the tab-bar markers are unaffected either way. |
| No notification daemon | the post fails with a warn log. Nothing surfaces and the terminal is unaffected. |
Finished-command notifications
A command that finishes while the terminal is hidden posts its own desktop
notification. It names the tab and reports the command's duration in the
command chip's own m:ss / h:mm:ss shape. When the app sampled the command
while it ran, the notification names it ("cargo finished in 2:41"). An unsampled
run falls back to "Command finished in 2:41". Rules:
| Rule | What it does |
|---|---|
| Only while hidden | a visible terminal already carries the signal - the command chip's frozen pair on the active tab, the activity marker on the rest. |
| Only past the threshold | a hidden ls that finishes never pings. command_finish_notification_after_secs (default 5 seconds) sets the minimum duration. A finish exactly at the threshold counts. |
| One notification per tab per hide period | the per-tab latch - the bell's exact shape - clears the next time the terminal is shown, so the next hidden long command notifies again. |
Toggle with command_finish_notification_enabled (default true, the Dropdown page of the Settings) | both keys apply at the next finish. |
Where to read more: the keys' rows in configuration, the switches on the Dropdown page of Settings, the command chip's frozen pair on bands, and the tray's About card in the FAQ.