ENH bring back the save/clipboard buttons in flameshot
This commit is contained in:
parent
e6346b7b06
commit
9e6bcde08c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue