Skip to content

Uses notify-send(1) to alert you when someone is talking to you in IRSSI.

License

Notifications You must be signed in to change notification settings

chronos-tachyon/irssi-libnotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

irssi-libnotify

Uses notify-send(1) to alert you when someone is talking to you in irssi.

Description

This IRSSI script hooks itself into all private messages and channel text. When someone sends a private message to you, or when someone says something in a channel that triggers your highlighting rules, then this script forwards that text to libnotify by shelling out to notify-send(1), a binary shipped with libnotify. The notification is sent with category im.received.

Installing

These instructions are for Ubuntu and other Debian derivatives.

# Prerequisite: must have irssi and libnotify-bin
sudo apt-get install irssi libnotify-bin

# Install the script where irssi can find it
mkdir -p ~/.irssi/scripts/autorun
cp -t ~/.irssi/scripts libnotify.pl

# OPTIONAL: Load the script automatically on startup.  If you don't do
# this, you'll need to run "/SCRIPT LOAD libnotify" by hand each time you
# restart your irssi client.
ln -st ~/.irssi/scripts/autorun ../libnotify.pl

See Also

About

Uses notify-send(1) to alert you when someone is talking to you in IRSSI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages