summaryrefslogtreecommitdiffstats
path: root/src/main.hs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-02-09 02:13:06 +0100
committertv <tv@krebsco.de>2019-02-09 02:33:04 +0100
commit9d688b6ffad14912bd1afe42555747cb3d213d95 (patch)
treebfe639002a97508784e1c52135f566f4399d0dbb /src/main.hs
parent03623ce6c011c1e85df7d91aed4458c098ff22ff (diff)
Main.app: copy capture to clipboard with xclipv1.1.0
Diffstat (limited to 'src/main.hs')
-rw-r--r--src/main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.hs b/src/main.hs
index 133f51c..851dd7f 100644
--- a/src/main.hs
+++ b/src/main.hs
@@ -134,7 +134,7 @@ app client = do
]
} >>= \case
Right MethodReturn{} ->
- awaitCaptureFinish >>= mapM_ (saveImage cGuiPath)
+ awaitCaptureFinish >>= mapM_ (copyToClipboard "image/png")
Left err ->
putLog $ "capture failed: " <> blessMethodError err