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

Run script #1

Open
JayBrown opened this issue Jan 4, 2022 · 1 comment
Open

Run script #1

JayBrown opened this issue Jan 4, 2022 · 1 comment

Comments

@JayBrown
Copy link

JayBrown commented Jan 4, 2022

It would be great if there was a way to run a shell script with every notification, and if Roar could pass the notification data (formatted) to the script, so $* would be e.g.

process: foo
processname: bar
title: baz
subtitle: qux
message: quz

so you could parse it further within the script, e.g. only continue executing the script for certain processes (process names)… that way you could perform auxiliary tasks while away, or also mirror macOS notifications on mobile devices with Pushover.

@tylerhall
Copy link
Owner

Love this idea.

I often forward iOS notifications to Twilio’s API as text messages so they break thru CarPlay. That could work here, too.

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

2 participants