diff options
author | Ryan Kavanagh <rak@debian.org> | 2018-09-02 21:04:19 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2018-09-02 21:06:08 -0400 |
commit | 80caa28387bc178c7b8f53500016878770c8137b (patch) | |
tree | 45985712f077fb434cd71b729350c00afd4d65fc /.xmonad | |
parent | Install ~/.config/wpa_supplicant.conf (diff) |
Add killing using the trackball buttons
Diffstat (limited to '')
-rw-r--r-- | .xmonad/xmonad.hs | 3 |
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 = [ |