Add right click stuff

This commit is contained in:
Martin Potier 2021-03-03 14:09:35 +02:00
parent 24581f06d0
commit 8914400110
No known key found for this signature in database
GPG key ID: D4DD957DBA4AD89E

View file

@ -43,7 +43,6 @@ modify conf = conf
, ("<XF86AudioPrev>", spawn "/run/current-system/sw/bin/mpc prev") , ("<XF86AudioPrev>", spawn "/run/current-system/sw/bin/mpc prev")
, ("M-<Down>", windows W.focusDown) , ("M-<Down>", windows W.focusDown)
, ("M-<Esc>", sendMessage (Toggle "Full")) , ("M-<Esc>", sendMessage (Toggle "Full"))
, ("M-$", sendMessage (Toggle "Full"))
, ("M-<Left>", prevWS) , ("M-<Left>", prevWS)
, ("M-i", prevScreen) , ("M-i", prevScreen)
, ("M-e", nextScreen) , ("M-e", nextScreen)
@ -68,6 +67,9 @@ modify conf = conf
-- Copy windows to workspaces -- Copy windows to workspaces
, ("M-<Delete>", kill1) , ("M-<Delete>", kill1)
, ("M-c", workspacePrompt promptConfig (\name -> windows $ copy name)) , ("M-c", workspacePrompt promptConfig (\name -> windows $ copy name))
-- Mouse stuff
, ("M-$ $", spawn "xdotool click 3")
, ("M-$ M-$", spawn "xdotool click 3") -- helpfull to combine M + right click
] ]