I just changed from Konsole to urxvt (to save screen place). One thing I'm missing is the watch for (In)Activity options Konsole has.
The Documentation in the man-page gave me a few hints. To try it, save the code and start urxvt with:
urxvt --perl-lib path/to/file -pe file
I moved the Code to github.
I want to extend it in to notify me What shell changed, but I'm stuck with basic problems.
My problems are:
What is a "Idle Watcher"? If I activate the "inactivity watcher" it either notifies me immediatly or never.
The on_line_update gets called when urxvt gets resized, so it might not be the right hook, but which one is it then?
Its on_line_add