A binding to the X on-screen display


Latest on Hackage:0.2.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed
Maintained by Don Stewart

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 ())