You are not logged in.

#1 2015-10-05 09:18:55

Makpoc
Member
Registered: 2013-09-08
Posts: 8

[Solved] Notifications on any activity with irssi

Hi,

I've started using irssi (with screen) recently but I'm having trouble finding a way to configure it the way I want it.

I want to mark the terminal as Urgent when there's any (not ignored) activity on a particular channel. I'm running bspwm with dzen and the urgent status will cause the workspace to change color which is all I need (not too intruding but also visible without switching to the workspace and checking visually). From my "googling" I've only encountered guides on how to log all activity, monitor with tail and notify. I cannot belive there's no way to configure this (even if it's with some plugin). Am I missing something or is this really not possible/easy with irssi?

Last edited by Makpoc (2015-10-05 14:39:26)

Offline

#2 2015-10-05 09:44:53

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: [Solved] Notifications on any activity with irssi

I was using trigger.pl to run dzen2 with messages. You could perhaps use it to run "echo -e "\a"" (if you could connect it with that particular terminal).

Last edited by lucke (2015-10-05 09:46:38)

Offline

#3 2015-10-05 14:39:01

Makpoc
Member
Registered: 2013-09-08
Posts: 8

Re: [Solved] Notifications on any activity with irssi

Thanks!

This works unexpectedly well smile. I put -publics -command 'exec - echo -n -e \\\\a' in ~/.irssi/triggers. I also had to put vbell off and bell_msg ^G in ~/.screenrc. Now it propagates the bell to urxvt and the panel picks the urgent state up and changes to color of the workspace.

For now the only problem I have is that there's a new (empty) row after each message. I'll try to fix this later.

Offline

Board footer

Powered by FluxBB