Execute command when urxvt gains/loses focus

1

I would like to notify programs running in urxvt whenever they (meaning the urxvt window they are running in) gained or lost focus. Is this possible? If there is a standard solution for this, I'm happy to adopt this.

iGEL

Posted 2014-05-11T19:31:08.417

Reputation: 283

1Compiz may have something for this, if applicable. // otherwise you would need something that looks at the various x11 events and reacts to selected messages. // your window manager should perhaps the easiest/first port of call, but would be WM specific. – Cameron Kerr – 2014-05-11T19:52:52.770

No answers