Rework get_clipboard implementation

This commit is contained in:
nyorain 2017-07-07 21:51:34 +02:00
parent 42547cafb6
commit c0f2acce4e
8 changed files with 455 additions and 103 deletions

View file

@ -65,6 +65,12 @@ IPC Message Types
*get_version*::
Get JSON-encoded version information for the running instance of sway.
*get_clipboard*::
Get JSON-encoded information about the clipboard.
Returns the current clipboard mime-types if called without
arguments, otherwise returns the clipboard data in the requested
formats. Encodes the data using base64 for non-text mime types.
Authors
-------