aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/Keys.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-03-28 10:51:02 -0600
committerJosh Rahm <rahm@google.com>2022-03-28 10:51:02 -0600
commit3a87706dc6193636c8b5c5b37d1ca2d057a22f00 (patch)
tree47cff87ba7ae9b2e1dc1ccc00013b4ad2f99e0ca /src/Internal/Keys.hs
parent19b26eaa2e72e3917bd4531a3e467cf58a721ac2 (diff)
downloadrde-3a87706dc6193636c8b5c5b37d1ca2d057a22f00.tar.gz
rde-3a87706dc6193636c8b5c5b37d1ca2d057a22f00.tar.bz2
rde-3a87706dc6193636c8b5c5b37d1ca2d057a22f00.zip
Move Intercept to RebindKeys. Remove the intercept subsystem as it was experimental and I do not have a real use for it anymore.
Diffstat (limited to 'src/Internal/Keys.hs')
-rw-r--r--src/Internal/Keys.hs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index aeb3602..9a45f7e 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE RankNTypes #-}
module Internal.Keys (applyKeys) where
-import Internal.Intercept (setIntercept)
import Control.Monad.Loops (iterateWhile)
import Control.Monad.Fix (fix)
import Graphics.X11.ExtraTypes.XF86;
@@ -46,6 +45,7 @@ import Internal.Lib
import Internal.DMenu
import Internal.PassMenu
import Internal.Logger
+import Internal.RebindKeys
import Internal.ScreenRotate (screenRotateForward, screenRotateBackward)
type KeyMap l = XConfig l -> Map (KeyMask, KeySym) (X ())
@@ -246,12 +246,6 @@ keymap = runKeys $ do
if (x' - x) < 0
then mediaPrev
else mediaNext
-
- bind xK_t $
-
- (justMod -|- noMod) $
- setIntercept (modMask config, xK_i) $
- logs $ "Intercepted!"
bind xK_r $ do
justMod runDMenu