Heyhey crazy kids,

Here's another damn fool stunt to pull with procmail:

  ONSCREEN="osd_cat --color=#ffe000 --offset=-70 --delay=2 --shadow=2 
--font=-urw-eurostile-bold-r-normal-*-*-480-*-*-p-*-iso8859-1"

  :0 ich
  * ^Subject:.*\/.*
  | echo "$MATCH" | $ONSCREEN

What does this do?

XOSD - pointed out to me my Jacques Wilkinson of This Very List - is a cool
little utility that prints up an onscreen display in X. Very nifty for music
players and the like.

The procmail snippet pipes the subject (sucked out of the headers by
matching it) to xosd's osd_cat command, which pops it up on your screen to
alert you. You can do anything with osd_cat, and you can also use the osd
library to bring crazy osd fun to your own software. An Evolution filter
hack would be pretty cool. ;)

On Debian, you can get it (and the associated xmms plugin) with:

  apt-get install xmms-osd-plugin xosd-bin

Crazy Crack! Go get some! Run, don't waltz!

- Jeff

-- 
   "2.4.1ac17 is full of innovations and should be used with caution." -    
                             Linux Weekly News                              
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to