website/docs/guides/notifications.mdx
import VersionLabel from '@site/src/components/Docs/VersionLabel';
<VersionLabel version="1.38.0" header />moon is able to send operating system desktop notifications for specific events in the action pipeline, on behalf of your terminal application. This is useful for continuous feedback loops and reacting to long-running commands while multi-tasking.
Notifications are opt-in and must be enabled with the
notify.terminalNotifications setting.
notifier:
terminalNotifications: 'always'
Notifications must be enabled at the operating system level.
Linux support is based on the XDG specification and utilizes
D-BUS APIs, primarily the
org.freedesktop.Notifications.Notify
method. Refer to your desktop distribution for more information.
Notifications will be sent using the moon application name (the current executable).
Notifications will be sent from your currently running terminal application, derived from the
TERM_PROGRAM environment variable. If we fail to detect the terminal, it will default to "Finder".
Requires Windows 10 or later.
Notifications will be sent from the "Windows Terminal" app if it's currently in use, otherwise from "Microsoft PowerShell".