WeeChat script to pass highlights and private messages to the macOS Notification Center
- Install pync:
pip install pync
- Copy
weechat.png
from this repository to~/.weechat/weechat.png
- In WeeChat, type
/script
to open the script manager - Find
notification_center
and typei
thenEnter
to install
- Install pync:
pip install pync
- Copy or symlink
weechat.png
to~/.weechat/weechat.png
- Copy or symlink
notification_center.py
into~/.weechat/python/autoload/
Default: 'on'
Values: 'on'
, 'off'
Default: 'on'
Values: 'on'
, 'off'
Default: 'on'
Values: 'on'
, 'off'
Default: 'off'
Values: 'on'
, 'off'
Default: 'Pong'
Values: 'Basso'
, 'Blow'
, 'Bottle'
, 'Frog'
, 'Funk'
, 'Glass'
, 'Hero'
, 'Morse'
, 'Ping'
, 'Pop'
, 'Purr'
, 'Sosumi'
, 'Submarine'
, 'Tink'
, but can really be anything that has an aptly named sound file in /System/Library/Sounds/
, /Library/Sounds/
, or ~/Library/Sounds/
.
Default: com.apple.Terminal
Values: 'com.apple.Terminal'
, 'com.googlecode.iterm2'
or any bundle ID that your terminal uses.
App to activate when the notification is clicked.
The app bundle ID can be found in /Applications/<MyTerminal>.app/Contents/Info.plist
, right below the CFBundleIdentifier
key.
Default: 'off'
Values: 'on'
, 'off'
Determines whether old messages, such as log playbacks, will trigger notifications or not.
MIT © Sindre Sorhus