diff options
| author | 2024-03-26 17:31:10 +0000 | |
|---|---|---|
| committer | 2024-03-26 17:31:10 +0000 | |
| commit | 31d308abd3f9d16cf8055de917f6af71f651f161 (patch) | |
| tree | 2670e753844c577068f3bac5cc6f3b2bd8cf0e38 /kanata | |
| parent | 59c6ec1c82b8208423fab9edc193c92291372d1d (diff) | |
adeus kmonad, ola kanata
Diffstat (limited to 'kanata')
| -rw-r--r-- | kanata/akko.kbd | 164 | ||||
| -rw-r--r-- | kanata/ideapad.kbd | 46 |
2 files changed, 210 insertions, 0 deletions
diff --git a/kanata/akko.kbd b/kanata/akko.kbd new file mode 100644 index 0000000..4fdf7fb --- /dev/null +++ b/kanata/akko.kbd @@ -0,0 +1,164 @@ +(defcfg + process-unmapped-keys yes + linux-dev /dev/input/by-id/usb-ROYUAN_AKKO_Multi-modes_Keyboard-B-event-kbd + linux-unicode-u-code v +) + +(defsrc + esc 1 2 3 4 5 6 7 8 9 0 - = bspc grv + tab q w e r t y u i o p [ ] \ + caps a s d f g h j k l ; ' ret + lsft z x c v b n m , . / rsft + lctl lmet lalt spc ralt rctl +) + +(defalias + l (chord chords l) + y (chord chords y) + p (chord chords p) + k (chord chords k) + z (chord chords z) + x (chord chords x) + o (chord chords o) + u (chord chords u) + + r (chord chords r) + s (chord chords s) + t (chord chords t) + b (chord chords b) + f (chord chords f) + n (chord chords n) + e (chord chords e) + i (chord chords i) + + v (chord chords v) + g (chord chords g) + d (chord chords d) + q (chord chords q) + m (chord chords m) + h (chord chords h) + / (chord chords /) + , (chord chords ,) + + nav (layer-while-held nav) + num (layer-while-held num) + mods (layer-while-held mods) + + lmet (one-shot-release 1000 lmet) + lalt (one-shot-release 1000 lalt) + lsft (one-shot-release 1000 lsft) + lctl (one-shot-release 1000 lctl) + + spc (tap-hold-press 150 150 spc @mods) + ralt (tap-hold-press 150 150 ralt @num) +) + +(defchords chords 1000 + ;; fileira de cima + (l ) l + (y ) y + (p ) p + (k ) k + (z ) z + (x ) x + (o ) o + (u ) u + + ;; fileira do meio + (r ) r + (s ) s + (t ) t + (b ) b + (f ) f + (n ) n + (e ) e + (i ) i + + ;; fileira de baixo + (v ) v + (g ) g + (d ) d + (q ) q + (m ) m + (h ) h + (/ ) / + (, ) , + + ;; combos laterais - lado esquerdo + (l y) esc + (y p) ret + (r s) tab + (s t) rpt + (v g) C-c + (g d) C-v + + ;; combos verticais - lado esquerdo + (l r) S-2 + (y s) S-3 + (p t) S-4 + (k b) S-5 + (r v) grv + (s g) \ + (t d) = + (b q) S-grv + + ;; combos laterais - lado direito + (x o) bspc + (o u) del + (n e) S-9 + (e i) S-0 + (h /) [ + (/ ,) ] + + ;; combos verticais - lado direito + (z f) S-6 + (x n) + + (o e) S-8 + (u i) S-7 + (f m) S-- + (n h) - + (e /) / + (i ,) S-\ +) + +;; Canary layout (dg swap) +;; https://github.com/Apsu/Canary +(deflayer canary + esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 bspc grv + tab w @l @y @p @k @z @x @o @u ; [ ] \ + caps c @r @s @t @b @f @n @e @i a ' ret + lsft j @v @g @d @q @m @h @/ @, . rsft + @nav lmet lalt @spc @ralt rctl +) + +(deflayer empty + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ +) + +(deflayer nav + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ pgup up pgdn _ _ _ _ + _ @lmet @lalt @lctl @lsft _ _ lft down rght _ _ _ + _ _ _ _ _ _ _ home _ end _ _ + _ _ _ _ _ _ +) + +(deflayer num + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ 9 8 7 _ _ _ _ _ _ _ _ _ + _ _ 6 5 4 _ _ @lsft @lctl @lalt @lmet _ _ + _ 3 2 1 0 _ _ _ _ _ _ _ + _ _ _ _ _ _ +) + +(deflayer mods + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ _ _ _ _ _ _ _ _ + _ @lmet @lalt @lctl @lsft _ _ @lsft @lctl @lalt @lmet _ _ + _ _ _ _ _ _ _ _ _ _ _ _ + _ _ _ _ _ _ +) diff --git a/kanata/ideapad.kbd b/kanata/ideapad.kbd new file mode 100644 index 0000000..99814c4 --- /dev/null +++ b/kanata/ideapad.kbd @@ -0,0 +1,46 @@ +(defcfg + process-unmapped-keys yes + linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd + linux-unicode-u-code v +) + +(deflocalkeys-linux + ´ 26 + [ 27 + ç 39 + ~ 40 + ' 41 + ] 43 + ; 53 + \ 86 + / 89 +) + +(defsrc + esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 + ' 1 2 3 4 5 6 7 8 9 0 - = bspc + tab q w e r t y u i o p ´ [ ret + caps a s d f g h j k l ç ~ ] + lsft \ z x c v b n m , . ; rsft + lctl lmet lalt spc ralt / +) + +;; Canary layout (dg swap) +;; https://github.com/Apsu/Canary +(deflayer canary + esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 + ' 1 2 3 4 5 6 7 8 9 0 - = bspc + tab w l y p k z x o u ç ´ [ ret + caps c r s t b f n e i a ~ ] + lsft \ j v g d q m h / , . rsft + lctl lmet lalt spc ralt ; +) + +(deflayer qwerty + esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 + ' 1 2 3 4 5 6 7 8 9 0 - = bspc + tab q w e r t y u i o p ´ [ ret + caps a s d f g h j k l ç ~ ] + lsft \ z x c v b n m , . ; rsft + lctl lmet lalt spc ralt / +) |
