aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-02-26 00:07:46 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-02-26 00:07:46 -0700
commit22f13f3939962970592ea659a72ff32752bab300 (patch)
tree40226bb94cc24b43cdb97bb738bc96f119d6c3e2
parent3c3c03b87a2d68f0115e33d16bb8093dd8b211f4 (diff)
downloadrde-22f13f3939962970592ea659a72ff32752bab300.tar.gz
rde-22f13f3939962970592ea659a72ff32752bab300.tar.bz2
rde-22f13f3939962970592ea659a72ff32752bab300.zip
Add way to view different screens in a greedy view.
-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 4828f27..e37c60d 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -164,6 +164,10 @@ newKeys =
, ((modm, xK_o), withScreen W.view 1)
, ((modm, xK_e), withScreen W.view 2)
+ , ((modm .|. shiftMask .|. mod1Mask, xK_a), withScreen W.greedyView 0)
+ , ((modm .|. shiftMask .|. mod1Mask, xK_o), withScreen W.greedyView 1)
+ , ((modm .|. shiftMask .|. mod1Mask, xK_e), withScreen W.greedyView 2)
+
, ((modm .|. shiftMask, xK_a), withScreen W.shift 0)
, ((modm .|. shiftMask, xK_o), withScreen W.shift 1)
, ((modm .|. shiftMask, xK_e), withScreen W.shift 2)