tylerhall / roar

Let's reskin Notification Center
https://tyler.io/roar-notifications/
MIT License
9 stars 0 forks source link

Run script #1

Open JayBrown opened 2 years ago

JayBrown commented 2 years ago

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 commented 2 years ago

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.