aboutsummaryrefslogtreecommitdiff
path: root/.xmonad/xmonad.hs
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-09-02 21:04:19 -0400
committerRyan Kavanagh <rak@debian.org>2018-09-02 21:06:08 -0400
commit80caa28387bc178c7b8f53500016878770c8137b (patch)
tree45985712f077fb434cd71b729350c00afd4d65fc /.xmonad/xmonad.hs
parentInstall ~/.config/wpa_supplicant.conf (diff)
Add killing using the trackball buttons
Diffstat (limited to '.xmonad/xmonad.hs')
-rw-r--r--.xmonad/xmonad.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs
index ac82d8a..60b435c 100644
--- a/.xmonad/xmonad.hs
+++ b/.xmonad/xmonad.hs
@@ -73,8 +73,9 @@ myMouseBindings (XConfig {XMonad.modMask = modMask}) = fromList $
-- you may also bind events to the mouse scroll wheel (button4 and button5)
, ((modMask, button5), (\_ -> moveTo Next NonEmptyWS))
, ((modMask, button4), (\_ -> moveTo Prev NonEmptyWS ))
- -- scroll wheel click
+ -- scroll wheel click, bottom right corner on trackball
, ((modMask, 6), (\w -> focus w >> kill))
+ , ((modMask, 8), (\w -> focus w >> kill))
]
mykeys x = [