Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.32 KB

README.markdown

File metadata and controls

49 lines (34 loc) · 1.32 KB

irsnot

irsnot is an irssi script that creates desktop notifications based on dbus. Notification timeouts can be configured per nick/channel.

installation

$ git clone git://github.com/nuisanceofcats/irsnot.git
$ cp irsnot/irsnot.pl ~/.irssi/scripts/
$ cp irsnot/irsnotrc.sample ~/.irssi/irsnotrc

To load the script from irssi:

/script load irsnot

For Arch Linux irsnot is in the AUR and can be installed globally with a command such as:

$ yaourt -S irsnot-git

configuration

The configuration file lives at ~/.irssi/irsnotrc. Here is a sample:

# use this to set the default notification time for private messages.
# this shows the default of 5000ms or 5s
# nick * 5000

# and for messages received through a channel
# this shows the default which disables notifications for channels
# chan * 0

# override the default channel timeout for #chilon to 5000
chan #chilon 5000
chan &bitlbee 5000

# use this to ignore notifications from a nick
nick mrToms 0
nick root 0

# work people with messages i cannot miss
nick bossman 50000000
nick hrbossman 50000000

commands

Reload the configuration file. /irsnot_reload

Issue a command (anything in the config file works here). /irsnot nick annoyingGuy 0

dependencies

  • perl Desktop::Notify module.