Skip to main content

Module notify

Module notify 

Source
Expand description

Native desktop notifications without a new dependency: osascript on macOS, notify-send on Linux desktops, a WinRT toast via PowerShell on Windows. Title and body are passed as arguments or environment variables, never spliced into a script, so no text can be interpreted.

Functionsยง

send
Shows a notification; false when this machine has no way to show one.