Dnia 2009-07-18, o godz. 12:42:47 Samuel Baldwin <shardz4...@gmail.com> napisał(a):
> 2009/7/18 Tadzik Sośnierz <tadzi...@gmail.com>: > > I'd also like the answer to your question, though I semi-solved this > > thing by scripting mcabber to set the scroll lock keyboard led if > > there are unread messages. Anyway, I'd be glad if You found any > > solution. > > How'd you do that? > set events_command = ~/.scripts/mcabber-unread in .mcabberrc and the script looks like this: #!/bin/sh if [ $1 == "UNREAD" ]; then ([ $2 -gt 0 ] && xset led 3) || xset -led 3 fi It's not really good I guess, as I'm not quite good in sh scripting, but it works.