ENH bring back the save/clipboard buttons in flameshot

This commit is contained in:
Nathan Dwarshuis 2022-02-24 10:55:58 -05:00
parent e6346b7b06
commit 9e6bcde08c
1 changed files with 2 additions and 3 deletions

View File

@ -260,9 +260,8 @@ getCaptureDir = do
fallback = (</> ".local/share") <$> getHomeDirectory fallback = (</> ".local/share") <$> getHomeDirectory
runFlameshot :: String -> String -> FeatureX runFlameshot :: String -> String -> FeatureX
runFlameshot n mode = featureDefault n [Executable myCapture] $ do runFlameshot n mode = featureDefault n [Executable myCapture]
ssDir <- io getCaptureDir $ spawnCmd myCapture [mode]
spawnCmd myCapture $ mode : ["-p", ssDir]
-- TODO this will steal focus from the current window (and puts it -- TODO this will steal focus from the current window (and puts it
-- in the root window?) ...need to fix -- in the root window?) ...need to fix