From 9e6bcde08cac0c619932af1d9fae4d13f88e0112 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 24 Feb 2022 10:55:58 -0500 Subject: [PATCH] ENH bring back the save/clipboard buttons in flameshot --- lib/XMonad/Internal/Command/Desktop.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/XMonad/Internal/Command/Desktop.hs b/lib/XMonad/Internal/Command/Desktop.hs index b886b11..3c1fbbc 100644 --- a/lib/XMonad/Internal/Command/Desktop.hs +++ b/lib/XMonad/Internal/Command/Desktop.hs @@ -260,9 +260,8 @@ getCaptureDir = do fallback = ( ".local/share") <$> getHomeDirectory runFlameshot :: String -> String -> FeatureX -runFlameshot n mode = featureDefault n [Executable myCapture] $ do - ssDir <- io getCaptureDir - spawnCmd myCapture $ mode : ["-p", ssDir] +runFlameshot n mode = featureDefault n [Executable myCapture] + $ spawnCmd myCapture [mode] -- TODO this will steal focus from the current window (and puts it -- in the root window?) ...need to fix