Skip to main content
Use midway send-text to send a notification without running a command:

Arguments

Midway sends the text immediately through the notification methods selected by notification.send_to and pick_from; it does not apply the command-duration threshold used by midway run.

Send in the background

Add --background (or -b) to start the send as a detached process:
Midway returns after starting the send. Pressing Ctrl+C or terminating the shell or hook that launched it will not stop the detached send. A system shutdown, explicit termination of the Midway process, or teardown of its execution environment can still interrupt it. Background sends use midway.yaml from the current working directory. Make sure that file is available where the detached process starts. Midway reads midway.yaml from the current working directory by default. Select another config file with -c or --config:
See configuration to set notification destinations and notification guides to configure a service.