diff options
author | tv <tv@krebsco.de> | 2020-05-01 10:07:17 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-05-01 10:07:17 +0200 |
commit | 63a96ce79d029bfba36660d7e258769f7d74a9ef (patch) | |
tree | e5a2f593020e921a9f31ad62e5ce2dbc6ec30c8a /src/main.hs | |
parent | 156f4774ca62e84d5a936597cec1b2faf1edee20 (diff) |
Flameshot.Internal: copyToClipboard to Main.app
Diffstat (limited to 'src/main.hs')
-rw-r--r-- | src/main.hs | 4 |
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" <> |