Update ntfy

This commit is contained in:
Leon Grünewald 2024-02-22 11:58:13 +01:00
parent ffe6698ac4
commit 30dbbf3052

View file

@ -3,14 +3,14 @@
# Base URL used to expand short topic names in the "ntfy publish" and "ntfy subscribe" commands. # 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. # If you self-host a ntfy server, you'll likely want to change this.
# #
default-host: https://captainhal.ddns.net:20001 default-host: https://ntfy.413.one
# Default username and password will be used with "ntfy publish" if no credentials are provided on command line # Default username and password will be used with "ntfy publish" if no credentials are provided on command line
# Default username and password will be used with "ntfy subscribe" if no credentials are provided in subscription below # Default username and password will be used with "ntfy subscribe" if no credentials are provided in subscription below
# For an empty password, use empty double-quotes ("") # For an empty password, use empty double-quotes ("")
# #
default-user: dhalucario default-user: leon
default-password: GYKkwdGLRxU4Nm default-password: 1bims
# Default command will execute after "ntfy subscribe" receives a message if no command is provided in subscription below # Default command will execute after "ntfy subscribe" receives a message if no command is provided in subscription below
# default-command: # default-command:
@ -48,5 +48,9 @@ default-password: GYKkwdGLRxU4Nm
# and 'tags' (comma-separated list, logical AND). See https://ntfy.sh/docs/subscribe/api/#filter-messages. # and 'tags' (comma-separated list, logical AND). See https://ntfy.sh/docs/subscribe/api/#filter-messages.
# #
subscribe: subscribe:
- topic: dhalucario-general - topic: 'leon-services'
command: 'notify-send "$m"' command: 'notify-send "$t" "$m"'
- topic: 'bonmercato-alerts'
command: 'notify-send "$t" "$m"'
- topic: 'bonmercato-imports'
command: 'notify-send "$t" "$m"'