Skip to content

Instantly share code, notes, and snippets.

@mattd
Created November 9, 2011 14:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattd/1351546 to your computer and use it in GitHub Desktop.
Save mattd/1351546 to your computer and use it in GitHub Desktop.
An irssi growler script. Get notification of nick mentions!
#!/bin/sh
(ssh mattd@juicebox.io -p 1984 -o PermitLocalCommand=no \
": > .irssi/fnotify ; tail -f .irssi/fnotify " | \
while read heading message; do \
growlnotify -s -t "${heading}" -m "${message}"; \
#say "${heading} says, ${message}"; \
done)&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment