3 ms·
> I have irssi configured to set my status to away when the screen is detached How do you do that? I've tried looking at the documentation for irssi, and it's
by pavel_lishin 16y ago
> I have irssi configured to set my status to away when the screen is detached
How do you do that? I've tried looking at the documentation for irssi, and it's god-awful.
- mattdawson 16y agoI would also love to know how you do this. I like being a good irc citizen, and I'm always forgetting to set my status. [edit: see here - http://news.ycombinator.com/item?id=1781074 http://news.ycombinator.com/item?id=1781074]
- LordLandon 16y agoI have .screenrc_im source ~/.screenrc sessionname im bind ^D eval 'at naim stuff "/away Detached!\012"' 'at irssi stuff "/away Detached!\012"' 'detach' bind d eval 'at naim stuff "/away Detached!\012"' 'at irssi stuff "/away Detached!\012"' 'detach' screen -t naim naim screen -t irssi irssi and a bash alias alias im='if detached im; then screen -S im -pirssi -X eval "stuff /away\012"; screen -S im -pnaim -X eval "stuff /away\012"; screen -r im; else screen -x im; fi;'
- zaphar 16y agoI use this script: https://bitbucket.org/zaphar/dotfiles/src/tip/.irssi/scripts/autorun/screen_away.pl https://bitbucket.org/zaphar/dotfiles/src/tip/.irssi/scripts...