A binding to the X on-screen display

xosd is a library for displaying an on-screen display (like the one on many TVs) on your X display.

For example, the following displays the string "TEST" in the center of the screen, in 34pt Helvetica, for 3 seconds.

runXOSD [ Timeout 3 , VAlign VAlignMiddle , HAlign HAlignCenter , Font "-adobe-helvetica-bold-r-*-*-34-*-*-*-*-*-*-*" , Color "LimeGreen" , Display (String "TEST")] (const $ return ())