From 9924692d783da02cdd3f1242901169a9e8587de6 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Fri, 28 Feb 2020 12:15:36 -0500 Subject: [PATCH] ENH use flameshot...I like arbitrary area capture :D --- xmonad.hs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/xmonad.hs b/xmonad.hs index 986d5d7..b0f0a92 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -292,8 +292,10 @@ myClipboard = _myRofi ++ " -modi \"clipboard:greenclip print\" \ myNetSel = "networkmanager_dmenu -m -4" myWinSel = _myRofi ++ " -show window" myDevSel = "rofi-udisks" -myScreenCap = "screencap -s" --external script -myWindowCap = "screencap -w" --external script +-- TODO this will steal focus from the current window (and puts it +-- in the root window?) ...need to fix +myScreenCap = "flameshot gui" --external script +-- myWindowCap = "screencap -w" --external script myScreenLock = "screenlock" --external script showVBox = windows $ W.view myVMWorkspace @@ -351,8 +353,8 @@ myKeys c = mkNamedSubmap c "Actions" [ ("M-q", addName "close window" kill1) , ("M-r", addName "run program" $ spawn myRun) - , ("M-C-s", addName "capture screen" $ spawn myScreenCap) - , ("M-C-S-s", addName "capture focused window" $ spawn myWindowCap) + , ("M-C-s", addName "capture screen area" $ spawn myScreenCap) + -- , ("M-C-S-s", addName "capture focused window" $ spawn myWindowCap) , ("M-", addName "lock screen" $ spawn myScreenLock) ] ++