aboutsummaryrefslogtreecommitdiff
path: root/src/Internal
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2020-04-07 10:05:36 -0600
committerJosh Rahm <rahm@google.com>2020-04-07 10:05:36 -0600
commit475a99a72e43a3ebd8c5761d67309f5ac9d90e6d (patch)
tree2c2659ca92f970a040b1dcda02c13f6e059c8d9d /src/Internal
parent63e1d3b9b8685ea77cb488844dddb59a6858c39d (diff)
downloadrde-475a99a72e43a3ebd8c5761d67309f5ac9d90e6d.tar.gz
rde-475a99a72e43a3ebd8c5761d67309f5ac9d90e6d.tar.bz2
rde-475a99a72e43a3ebd8c5761d67309f5ac9d90e6d.zip
Add the ability to swap screens using Mod4-Mod1-aoe
Diffstat (limited to 'src/Internal')
-rw-r--r--src/Internal/Keys.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index 83d2e08..75a1de9 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -113,6 +113,10 @@ newKeys markContext =
, ((modm .|. shiftMask, xK_o), runXPlus markContext config (withScreen W.shift 1))
, ((modm .|. shiftMask, xK_e), runXPlus markContext config (withScreen W.shift 2))
+ , ((modm .|. mod1Mask, xK_a), runXPlus markContext config (withScreen W.greedyView 0))
+ , ((modm .|. mod1Mask, xK_o), runXPlus markContext config (withScreen W.greedyView 1))
+ , ((modm .|. mod1Mask, xK_e), runXPlus markContext config (withScreen W.greedyView 2))
+
-- Buttons programmed on my mouse.
, ((shiftMask, xK_F1), withFocused $ windows . W.sink)
, ((shiftMask, xK_F2), sendMessage ToggleZoom)