Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activation does not work on macOS #11

Open
depressiveRobot opened this issue Aug 25, 2016 · 0 comments
Open

activation does not work on macOS #11

depressiveRobot opened this issue Aug 25, 2016 · 0 comments

Comments

@depressiveRobot
Copy link
Contributor

Clicking on a notification does not activate iterm which is caused by the usage of the -sender option:

-sender ID

Specifying this will make it appear as if the notification was send by that application instead, including using its icon.

Using this option fakes the sender application, so that the notification system will launch that application when the notification is clicked. Because of this it is important to note that you cannot combine this with options like -execute, -open, and -activate which depend on the sender of the notification to be ‘terminal-notifier’ to perform its work.

For information on the ID see the -activate option.

This is the command used to create the notifications:

terminal-notifier -message "$2" -title "$1" -activate "$term_id" -sender "$term_id" >/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant