From 63a96ce79d029bfba36660d7e258769f7d74a9ef Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 1 May 2020 10:07:17 +0200 Subject: Flameshot.Internal: copyToClipboard to Main.app --- src/main.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.hs') diff --git a/src/main.hs b/src/main.hs index 042c8da..a08228b 100644 --- a/src/main.hs +++ b/src/main.hs @@ -105,6 +105,10 @@ app client = do return () let + copyToClipboard mimetype input = + P.runAway "xclip" ["-selection", "clipboard", "-t", mimetype, "-i"] + Nothing Nothing input Nothing $ + logger putLog "xclip" runDaemon = P.run "flameshot" [] Nothing Nothing "" Nothing $ logger putLog "daemon" <> -- cgit v1.2.3