dschep / ntfy

🖥️📱🔔 A utility for sending notifications, on demand and when commands finish.
http://ntfy.rtfd.io
GNU General Public License v3.0
4.83k stars 214 forks source link

Reorganized config? Breaking change - 3.0? #124

Open dschep opened 7 years ago

dschep commented 7 years ago

Adding the shell-integration in #123 top level key adds to the confusion of reserved keywords at the top level of the config. Additionally, it'd be neat if different sub-commands could have different default backends. For example ntfy shell-integration could use local notifications and nfty done could use push notifications.

Rough idea...

default-backends:
  done: pushover
  shell-integration: default
shell-integration:
  - timeout: 5
    backend: default
  - timeout: 60
    backend: pushover
backends:
  pushover:
    user_key: hunter2
dschep commented 7 years ago

Or.. do what docker compose did and have a top level version key.