On Tue Jul 19, Ryan Kavanagh wrote:
> Hi Again,
> 
> On Tue, Jul 19, 2011 at 01:27:14PM -0400, Ryan Kavanagh wrote:
> > Please don't hesitate to let me know if you're interested in writing the
> > perl extension.
> 
> I decided to try my hand at writing the extension, you can find a copy
> attached. You'll need to set the bellCommand resource to use it, it's
> currently not possible to add an option (ex: -blc) with perl extensions.
> 
> Please test and let me know how it goes.

Many thanks Ryan! This is great! I can't believe I waited this long to
ask :).

For anyone stumbling upon this thread, I got it working by:

 * create personal perl directory:
   mkdir ~/perl
 * copy blc file to ~/perl
   cp /place/you/downloaded/blc ~/perl
 * launch rxvt with:

rxvt --perl-lib ~/perl -pe blc -xrm 'URxvt.bellCommand: /usr/bin/notify-send 
"Ding Ding Ding"'

This example assumes you have libnotify-bin installed.

jamie

-- 
Jamie McClelland
718-303-3204 ext. 1

May First/People Link
Growing networks to build a just world
http://www.mayfirst.org
https://support.mayfirst.org
Members Local 1180, Communications Workers of America, AFL-CIO

PGP Key: http://current.workingdirectory.net/pages/identity/ 

Attachment: signature.asc
Description: Digital signature

Reply via email to