Created
December 21, 2012 12:22
-
-
Save SimonS/4352483 to your computer and use it in GitHub Desktop.
Use Growl to allow notifications in DMDirc on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pre-requisites: | |
# growlnotify (found as part of the Extras folder in the Growl distribution) | |
# DMDirc redirect plugin | |
# DMDirc exec plugin | |
# This section indicates which sections below take key/value | |
# pairs, rather than a simple list. It should be placed above | |
# any sections that take key/values. | |
keysections: | |
condition 0 | |
triggers: | |
CHANNEL_MESSAGE | |
response: | |
/redirect /exec /usr/local/bin/growlnotify -m "${1.USER_NAME} - ${0.CHANNEL_NAME}\: ${2.STRING_STRIPPED}" | |
conditiontree: | |
0 | |
condition 0: | |
argument=2 | |
component=STRING_STRIPPED | |
target=$SERVER_MYNICKNAME | |
comparison=STRING_CONTAINS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment