diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-03-28 00:24:45 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-03-28 00:24:45 -0600 |
| commit | 16661c33c638cc6b1aad5095e12f94e64d2a6bec (patch) | |
| tree | fcfbd415e334f6dd85a60aa3eaf79ad6d5533733 /src/Internal | |
| parent | 4b1adef5afe4748c2f9d9362baff71a44428b902 (diff) | |
| download | rde-16661c33c638cc6b1aad5095e12f94e64d2a6bec.tar.gz rde-16661c33c638cc6b1aad5095e12f94e64d2a6bec.tar.bz2 rde-16661c33c638cc6b1aad5095e12f94e64d2a6bec.zip | |
Add Brave to list of browsers to intercept keystrokes. Add mouse bindingns for dragging and resizing.
button13+LeftMouse = Drag
button13+RightMouse = Resize
button13+button13 = retile
Diffstat (limited to 'src/Internal')
| -rw-r--r-- | src/Internal/Keys.hs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs index c40c346..d03557c 100644 --- a/src/Internal/Keys.hs +++ b/src/Internal/Keys.hs @@ -441,12 +441,18 @@ mouseMap = runButtons $ do forM_ (map fst mediaButtons) $ \b -> bind b $ noMod $ continuous mediaButtons b + bind button13 $ noMod $ subMouse $ do + bind button1 $ noMod mouseMoveWindow + bind button3 $ noMod mouseResizeWindow + bind button13 $ noMod $ windows . W.sink + + bind button15 $ do noMod $ subMouse $ do bind button15 $ do - noMod $ \_ -> jumpToLast + noMod $ const jumpToLast let workspaceButtons = [ |