-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
miryoku_kmonad.kbd
79 lines (73 loc) · 4.27 KB
/
miryoku_kmonad.kbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
;; Copyright 2021 Manna Harbour
;; github.com/manna-harbour/miryoku
(defcfg
input (device-file "keyboard")
output (uinput-sink "Miryoku KMonad output")
fallthrough false
)
(defsrc
2 3 4 5 6 8 9 0 - =
q w e r t i o p [ ]
caps a s d f k l ; ' ent
x c v , . /
)
(deflayer U_BASE
q w f p b j l u y '
(tap-hold-next-release 200 a met) (tap-hold-next-release 200 r alt) (tap-hold-next-release 200 s ctl) (tap-hold-next-release 200 t sft) g m (tap-hold-next-release 200 n sft) (tap-hold-next-release 200 e ctl) (tap-hold-next-release 200 i alt) (tap-hold-next-release 200 o met)
(tap-hold-next-release 200 z (layer-toggle U_BUTTON)) (tap-hold-next-release 200 x ralt) c d v k h , (tap-hold-next-release 200 . ralt) (tap-hold-next-release 200 / (layer-toggle U_BUTTON))
(tap-hold-next-release 200 esc (layer-toggle U_MEDIA)) (tap-hold-next-release 200 spc (layer-toggle U_NAV)) (tap-hold-next-release 200 tab (layer-toggle U_MOUSE)) (tap-hold-next-release 200 ent (layer-toggle U_SYM)) (tap-hold-next-release 200 bspc (layer-toggle U_NUM)) (tap-hold-next-release 200 del (layer-toggle U_FUN))
)
(deflayer U_EXTRA
q w e r t y u i o p
(tap-hold-next-release 200 a met) (tap-hold-next-release 200 s alt) (tap-hold-next-release 200 d ctl) (tap-hold-next-release 200 f sft) g h (tap-hold-next-release 200 j sft) (tap-hold-next-release 200 k ctl) (tap-hold-next-release 200 l alt) (tap-hold-next-release 200 ' met)
(tap-hold-next-release 200 z (layer-toggle U_BUTTON)) (tap-hold-next-release 200 x ralt) c v b n m , (tap-hold-next-release 200 . ralt) (tap-hold-next-release 200 / (layer-toggle U_BUTTON))
(tap-hold-next-release 200 esc (layer-toggle U_MEDIA)) (tap-hold-next-release 200 spc (layer-toggle U_NAV)) (tap-hold-next-release 200 tab (layer-toggle U_MOUSE)) (tap-hold-next-release 200 ent (layer-toggle U_SYM)) (tap-hold-next-release 200 bspc (layer-toggle U_NUM)) (tap-hold-next-release 200 del (layer-toggle U_FUN))
)
(deflayer U_TAP
q w f p b j l u y '
a r s t g m n e i o
z x c d v k h , . /
esc spc tab ent bspc del
)
(deflayer U_BUTTON
undo S-del C-ins S-ins again again S-ins C-ins S-del undo
met alt ctl sft XX XX sft ctl alt met
undo S-del C-ins S-ins again again S-ins C-ins S-del undo
#(kp* kp5) #(kp/ kp5) #(kp- kp5) #(kp- kp5) #(kp/ kp5) #(kp* kp5)
)
(deflayer U_NAV
XX (multi-tap 200 XX (layer-switch U_TAP)) (multi-tap 200 XX (layer-switch U_EXTRA)) (multi-tap 200 XX (layer-switch U_BASE)) XX again S-ins C-ins S-del undo
met alt ctl sft XX caps left down up right
XX ralt (multi-tap 200 XX (layer-switch U_NUM)) (multi-tap 200 XX (layer-switch U_NAV)) XX ins home pgdn pgup end
XX XX XX ent bspc del
)
(deflayer U_MOUSE
XX (multi-tap 200 XX (layer-switch U_TAP)) (multi-tap 200 XX (layer-switch U_EXTRA)) (multi-tap 200 XX (layer-switch U_BASE)) XX again S-ins C-ins S-del undo
met alt ctl sft XX XX kp4 kp2 kp8 kp6
XX ralt (multi-tap 200 XX (layer-switch U_SYM)) (multi-tap 200 XX (layer-switch U_MOUSE)) XX XX XX XX XX XX
XX XX XX #(kp- kp5) #(kp/ kp5) #(kp* kp5)
)
(deflayer U_MEDIA
XX (multi-tap 200 XX (layer-switch U_TAP)) (multi-tap 200 XX (layer-switch U_EXTRA)) (multi-tap 200 XX (layer-switch U_BASE)) XX XX XX XX XX XX
met alt ctl sft XX XX previoussong vold volu nextsong
XX ralt (multi-tap 200 XX (layer-switch U_FUN)) (multi-tap 200 XX (layer-switch U_MEDIA)) XX XX XX XX XX XX
XX XX XX stopcd playpause mute
)
(deflayer U_NUM
[ 7 8 9 ] XX (multi-tap 200 XX (layer-switch U_BASE)) (multi-tap 200 XX (layer-switch U_EXTRA)) (multi-tap 200 XX (layer-switch U_TAP)) XX
; 4 5 6 = XX sft ctl alt met
` 1 2 3 \\ XX (multi-tap 200 XX (layer-switch U_NUM)) (multi-tap 200 XX (layer-switch U_NAV)) ralt XX
. 0 - XX XX XX
)
(deflayer U_SYM
{ & * \( } XX (multi-tap 200 XX (layer-switch U_BASE)) (multi-tap 200 XX (layer-switch U_EXTRA)) (multi-tap 200 XX (layer-switch U_TAP)) XX
: $ % ^ + XX sft ctl alt met
~ ! @ # | XX (multi-tap 200 XX (layer-switch U_SYM)) (multi-tap 200 XX (layer-switch U_MOUSE)) ralt XX
\( \) \_ XX XX XX
)
(deflayer U_FUN
f12 f7 f8 f9 sysrq XX (multi-tap 200 XX (layer-switch U_BASE)) (multi-tap 200 XX (layer-switch U_EXTRA)) (multi-tap 200 XX (layer-switch U_TAP)) XX
f11 f4 f5 f6 slck XX sft ctl alt met
f10 f1 f2 f3 pause XX (multi-tap 200 XX (layer-switch U_FUN)) (multi-tap 200 XX (layer-switch U_MEDIA)) ralt XX
comp spc tab XX XX XX
)