summaryrefslogtreecommitdiffstats
path: root/src/Flameshot
diff options
context:
space:
mode:
Diffstat (limited to 'src/Flameshot')
-rw-r--r--src/Flameshot/Internal.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Flameshot/Internal.hs b/src/Flameshot/Internal.hs
index fc561fe..44160bf 100644
--- a/src/Flameshot/Internal.hs
+++ b/src/Flameshot/Internal.hs
@@ -110,8 +110,9 @@ showUnprintable =
copyToClipboard :: String -> ByteString -> IO ()
-copyToClipboard mimetype =
- P.writeDaemon "xclip" ["-selection", "clipboard", "-t", mimetype, "-i"]
+copyToClipboard mimetype input =
+ P.runAway "xclip" ["-selection", "clipboard", "-t", mimetype, "-i"]
+ Nothing Nothing input Nothing mempty
logger :: (Blessings Text -> IO ()) -> Text -> P.Callbacks
logger putLog name =