diff options
| author | Josh Rahm <rahm@google.com> | 2022-04-01 17:42:26 -0600 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2022-04-01 17:43:05 -0600 |
| commit | ea7445ce7d355aacd040c99cf2e13bad6cdba62b (patch) | |
| tree | b743c359eab633affca8b5adedaf2d606b099161 /src/Main.hs | |
| parent | c194a9be4e43bc4514070d172024fcf3354fb662 (diff) | |
| download | rde-experimental_mouse_mask.tar.gz rde-experimental_mouse_mask.tar.bz2 rde-experimental_mouse_mask.zip | |
Add ButtonMasks. Not function. Experimental to try and handle dealing with multiple buttons as masks.experimental_mouse_mask
Diffstat (limited to 'src/Main.hs')
| -rw-r--r-- | src/Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs index 0b4a181..0269ef3 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -21,6 +21,7 @@ import Internal.Logger import Internal.DMenu (menuCommandString) import Internal.RebindKeys import Internal.KeysM +import Internal.ButtonMasks import qualified XMonad as X import qualified XMonad.StackSet as W @@ -37,7 +38,7 @@ main = do xmobar <- spawnXMobar (=<<) X.xmonad $ - applyKeys $ ewmh $ docks $ def + applyKeys $ withButtonMasks $ ewmh $ docks $ def { terminal = "alacritty" , modMask = mod3Mask , borderWidth = 2 |