aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/Keys.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-03-29 12:32:25 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commit03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f (patch)
tree112116f82364714a544028614c83a2f843453a09 /src/Internal/Keys.hs
parent4df5a598a5ce83bee4669fd5cc3ab6a3ef60b2fe (diff)
downloadrde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.tar.gz
rde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.tar.bz2
rde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.zip
Remove trailing whitespace
Diffstat (limited to 'src/Internal/Keys.hs')
-rw-r--r--src/Internal/Keys.hs12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index 21988f8..ad3d6b8 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -233,7 +233,7 @@ keymap = runKeys $ do
bind xK_q $ do
shiftMod $ spawn "xmonad --recompile && xmonad --restart"
-
+
justMod $ subkeys $ do
bind xK_q $
@@ -246,7 +246,7 @@ keymap = runKeys $ do
if (x' - x) < 0
then mediaPrev
else mediaNext
-
+
bind xK_r $ do
justMod runDMenu
shiftMod $ sendMessage DoRotate
@@ -459,7 +459,7 @@ mouseMap = runButtons $ do
bind button15 $ do
noMod $ subMouse $ do
-
+
bind button15 $ do
noMod $ const jumpToLast
@@ -561,6 +561,10 @@ windowSpecificBindings = do
-- Experimental.
noMod $ logs "This is a test"
+ -- Add a binding to xev as a test.
+ configureIf (title =? "Event Tester") $
+ bind xK_F2 $
+ noMod $ sendKey (controlMask, xK_F2) w
where
browsers = ["Google-chrome", "Brave-browser", "firefox-default"]
@@ -585,7 +589,7 @@ windowBindings xconfig =
manageHook = (doQuery >> return (Endo id)) <> manageHook xconfig
}
-
+
where
doQuery :: Query ()
doQuery = do