# ntfy client config file # Base URL used to expand short topic names in the "ntfy publish" and "ntfy subscribe" commands. # If you self-host a ntfy server, you'll likely want to change this. # # default-host: https://ntfy.sh # Subscriptions to topics and their actions. This option is primarily used by the systemd service, # or if you cann "ntfy subscribe --from-config" directly. # # Example: # subscribe: # - topic: mytopic # command: /usr/local/bin/mytopic-triggered.sh # - topic: myserver.com/anothertopic # command: 'echo "$message"' # # Variables: # Variable Aliases Description # --------------- --------------- ----------------------------------- # $NTFY_ID $id Unique message ID # $NTFY_TIME $time Unix timestamp of the message delivery # $NTFY_TOPIC $topic Topic name # $NTFY_MESSAGE $message, $m Message body # $NTFY_TITLE $title, $t Message title # $NTFY_PRIORITY $priority, $p Message priority (1=min, 5=max) # $NTFY_TAGS $tags, $ta Message tags (comma separated list) # # subscribe: