summaryrefslogtreecommitdiffstats
path: root/src/main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.hs')
-rw-r--r--src/main.hs4
1 files changed, 4 insertions, 0 deletions
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" <>