Giter Club home page Giter Club logo

irssi-notifier's Introduction

Simple script for irssi to trigger Mac OS X 10.8's Notification Center

Requirements

Installation

Place notifier.pl in ~/.irssi/scripts/.

/script load notifier.pl

Configuration

/SET notifier_on_regex [regex]
/SET notifier_channel_regex [regex]
/SET notifier_on_privmsg <0|1>

Usage

notifier on mynickname

/SET notifier_on_regex mynickname

notifier on everything

/SET notifier_on_regex .*

everything but jdewey

/SET notifier_on_regex (?=^(?:(?!jdewey).)*$).*

only notifier things for mychannel1 and mychannel2

/SET notifier_channel_regex (mychannel1|mychannel2)

by default we don't send notifications for privmsgs you can enable this by setting this flag to 1

/SET notifier_on_privmsg 1 

Didn't irssi-growl let me choose an icon?

Yes, it did and still does, that is if you choose to use growl. But Mountain Lion's Notification Center doesn't let you specify a custom icon for a notification. To quote terminal-notifier's repository:

The Notification Center always uses the application’s own icon, there’s currently no way to specify a custom icon for a notification. The only way to use this tool with your own icon is to include a build of terminal-notifier with your icon instead.

I will keep track of terminal-notifier's commits and if someone does find a way to specify an icon I will update this script as soon as possible.

Author

Patrick Kontschak <[email protected]> 2012

Forked from Nate Murray's irssi-growl.

irssi-notifier's People

Contributors

dreamcat4 avatar jashmenn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.