terminal-notifier just works with tmux with reattach-to-user-namespace.