Skip to content

Commit 6be1742

Browse files
committed
refactor: simplify key mappings in WeissWindowOperations.hs
1 parent 6cf423c commit 6be1742

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/WeissWindowOperations.hs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,15 @@ rightHandMotionConf =
4040
{ sKeys =
4141
PerScreenKeys
4242
( Map.fromList
43-
[ (0, [xK_f, xK_d, xK_s, xK_r, xK_e, xK_w])
44-
, (1, [xK_x, xK_c, xK_v, xK_a])
43+
[ (0, [xK_f, xK_d, xK_s, xK_r, xK_e, xK_w, xK_g, xK_t])
44+
, (1, [xK_x, xK_c, xK_v, xK_b, xK_a, xK_z])
4545
]
4646
)
4747
}
4848
leftHandMotionConf =
4949
easyMotionConf
5050
{ sKeys =
51-
PerScreenKeys
52-
( Map.fromList
53-
[ (0, [xK_j, xK_k, xK_l, xK_u, xK_i, xK_o])
54-
, (1, [xK_m, xK_n, xK_h, xK_y])
55-
]
56-
)
51+
AnyKeys [xK_j, xK_k, xK_l, xK_u, xK_i, xK_o, xK_m, xK_n, xK_h, xK_y]
5752
}
5853

5954
weissSwap :: X ()

0 commit comments

Comments
 (0)