https://github.com/9elt/notif
Run a script on notifications (when their pop up disappears) on macOS Sequoia 15+
https://github.com/9elt/notif
macos notifications
Last synced: 4 months ago
JSON representation
Run a script on notifications (when their pop up disappears) on macOS Sequoia 15+
- Host: GitHub
- URL: https://github.com/9elt/notif
- Owner: 9elt
- License: mit
- Created: 2025-03-25T19:22:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-17T19:19:34.000Z (about 1 year ago)
- Last Synced: 2025-08-31T12:44:33.806Z (10 months ago)
- Topics: macos, notifications
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Notif
Run a script on notifications (when their pop up disappears) on macOS Sequoia 15+
## Installation
```
$ npm i -g @9elt/notif
```
## Example usage
```
$ sudo chmod +x example.sh
$ notif example.sh &
```
_example.sh_
```sh
#!/bin/sh
ID="$1"
APP="$2"
TITLE="$3"
SUBTITLE="$4"
BODY="$5"
DATE="$6"
# do something ...
```