Skip to content

Instantly share code, notes, and snippets.

@SimonS
Created December 21, 2012 12:22
Show Gist options
  • Save SimonS/4352483 to your computer and use it in GitHub Desktop.
Save SimonS/4352483 to your computer and use it in GitHub Desktop.
Use Growl to allow notifications in DMDirc on OS X
# 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