Skip to content

Instantly share code, notes, and snippets.

@ekmartin
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ekmartin/05b794ac1a2eaa803ff0 to your computer and use it in GitHub Desktop.
Save ekmartin/05b794ac1a2eaa803ff0 to your computer and use it in GitHub Desktop.
A launchd-plist for weechat-notifier.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<key>weechat-notifier</key>
<key>EnvironmentVariables</key>
<dict>
<key>SERVER</key>
<string>(PLACEHOLDER) Server IP goes here.</string>
<key>PORT</key>
<string>(PLACEHOLDER) Relay port.</string>
<key>PASSWORD</key>
<string>(PLACEHOLDER) WeeChat relay password.</string>
<key>NICKS</key>
<string>(PLACEHOLDER) A list of nicks you want to be highlighted on, separate with commas.</string>
</dict>
<key>ProgramArguments</key>
<array>
<!-- Node-path: -->
<string>/usr/local/bin/node</string>
<!-- This works if you've installed it globally, else you can do /path/to/index.js -->
<string>/usr/local/bin/weechat-notifier</string>
</array>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment