helic-0.1.0.0: Clipboard Manager
Safe HaskellNone
LanguageHaskell2010

Helic.Effect.XClipboard

Description

The XClipboard Effect

Synopsis

Documentation

data XClipboard :: Effect where Source #

Communicate with the X11 clipboard.

Constructors

Current :: XClipboard m (Maybe Text)

Get the current clipboard contents, if available.

Set :: Text -> XClipboard m ()

Set the clipboard contents.

Sync :: Text -> Selection -> XClipboard m ()

Copy the content of the specified selection to the clipboard selection.