aboutsummaryrefslogtreecommitdiff
path: root/kanata
diff options
context:
space:
mode:
authorGravatar Matheus Ribeiro <matheusribeiro@touchtec.com.br> 2026-02-25 15:02:41 +0000
committerGravatar Matheus Ribeiro <matheusribeiro@touchtec.com.br> 2026-02-25 15:11:58 +0000
commita3879aaae0926a925e652c0719de879ce4211a64 (patch)
treec0badce4ecfc33c8b0728b557e885df4bc4e8060 /kanata
parent7cc29cf50f8d84a430ec5b44f2b22282c54083dc (diff)
tudo muda!
Diffstat (limited to 'kanata')
-rw-r--r--kanata/akira.kbd71
-rw-r--r--kanata/akko.kbd176
-rw-r--r--kanata/ideapad.kbd152
3 files changed, 100 insertions, 299 deletions
diff --git a/kanata/akira.kbd b/kanata/akira.kbd
new file mode 100644
index 0000000..50498ce
--- /dev/null
+++ b/kanata/akira.kbd
@@ -0,0 +1,71 @@
+(defcfg
+ process-unmapped-keys yes
+ linux-dev /dev/input/by-id/usb-BY_Tech_Gaming_Keyboard-event-kbd
+ linux-unicode-u-code v
+)
+
+(defsrc
+ esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
+ grv 1 2 3 4 5 6 7 8 9 0 - = bspc
+ 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
+ c (macro RA-c ,)
+
+ nav (layer-while-held nav)
+ sym (layer-while-held sym)
+
+ lmet (one-shot-release 1000 lmet)
+ lalt (one-shot-release 1000 lalt)
+ lsft (one-shot-release 1000 lsft)
+ lctl (one-shot-release 1000 lctl)
+
+ rsft (one-shot-release 1000 rsft)
+ rctl (one-shot-release 1000 rctl)
+ ralt (one-shot-release 1000 ralt)
+
+ ex S-1
+ at S-2
+ hs S-3
+ dl S-4
+ pr S-5
+ cr S-6
+ am S-7
+ ml S-8
+ lp S-9
+ rp S-0
+ lb S-[
+ rb S-]
+)
+
+(deflayer smrt1
+ esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
+ grv 1 2 3 4 5 6 7 8 9 0 - = bspc
+ tab h n l g q . f e k ' [ ] \
+ @lctl s m r t d , u o a i / ret
+ @lsft x j c b z v p w ; y @rsft
+ @nav @lmet @lsft spc @ralt @sym
+)
+
+(deflayer nav
+ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ pgup up pgdn _ _ _ _
+ _ _ @lalt @lctl @lsft _ _ lft down rght _ _ _
+ _ _ _ _ @lmet _ _ home _ end _ _
+ _ _ _ _ _ _
+)
+
+(deflayer sym
+ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ @lb [ @lp @cr _ _ @rb @rp ] @rb _ _ _
+ _ / @hs @at @ex grv _ @lsft @lctl @lalt _ _ _
+ _ @am @pr @ml @dl \ _ @lmet _ _ _ _
+ _ _ _ _ _ _
+)
+
diff --git a/kanata/akko.kbd b/kanata/akko.kbd
deleted file mode 100644
index 60f0622..0000000
--- a/kanata/akko.kbd
+++ /dev/null
@@ -1,176 +0,0 @@
-(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)
- c (chord chords c)
- p (chord chords p)
- b (chord chords b)
- k (chord chords k)
- f (chord chords f)
- o (chord chords o)
- u (chord chords u)
-
- r (chord chords r)
- t (chord chords t)
- n (chord chords n)
- , (chord chords ,)
- ç (chord chords @ccedilha)
- d (chord chords d)
- e (chord chords e)
- i (chord chords i)
-
- g (chord chords g)
- v (chord chords v)
- q (chord chords q)
- . (chord chords .)
- m (chord chords m)
- h (chord chords h)
- y (chord chords y)
- w (chord chords w)
-
- ccedilha (macro RA-c ,)
- á (macro RA-a ')
- ã (macro RA-a S-grv)
- à (macro RA-a grv)
- â (macro RA-a S-6)
- é (macro RA-e ')
- ê (macro RA-e S-6)
- í (macro RA-i ')
- ú (macro RA-u ')
- ó (macro RA-o ')
- ô (macro RA-o S-6)
- õ (macro RA-o S-grv)
-
- nav (layer-while-held nav)
- num (layer-while-held num)
- acc (layer-while-held acentos)
-
- lmet (one-shot-release 1000 lmet)
- lalt (one-shot-release 1000 lalt)
- lsft (one-shot-release 1000 lsft)
- lctl (one-shot-release 1000 lctl)
-
- ralt (tap-hold-press 150 150 ralt @num)
- spc (tap-hold-press 150 150 spc @nav)
-)
-
-(defchords chords 150
- ;; fileira de cima
- (l ) l
- (c ) c
- (p ) p
- (b ) b
- (k ) k
- (f ) f
- (o ) o
- (u ) u
-
- ;; fileira do meio
- (r ) r
- (t ) t
- (n ) n
- (, ) ,
- (@ccedilha ) @ccedilha
- (d ) d
- (e ) e
- (i ) i
-
- ;; fileira de baixo
- (g ) g
- (v ) v
- (q ) q
- (. ) .
- (h ) h
- (m ) m
- (y ) y
- (w ) w
-
- ;; combos laterais - lado esquerdo
- (l c) esc
- (c p) ret
- (l p) caps
- (r t) tab
- (t n) ,
- (g v) C-c
- (v q) C-v
-
- ;; combos verticais - lado esquerdo
- (l r) S-2
- (c t) S-3
- (p n) S-4
- (b ,) S-5
- (r g) grv
- (t v) S-1
- (n q) =
- (, .) S-grv
-
- ;; combos laterais - lado direito
- (f o) bspc
- (o u) del
- (d e) S-9
- (e i) S-0
- (m y) [
- (y w) ]
-
- ;; combos verticais - lado direito
- (k @ccedilha) S-6
- (f d) +
- (o e) S-8
- (u i) S-7
- (@ccedilha h) S--
- (d m) -
- (e y) /
- (i w) S-\
-)
-
-(deflayer sertania
- esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 bspc grv
- tab x @l @c @p @b - @k @f @o @u ' = \
- caps s @r @t @n @, / @ç @d @e @i a ret
- z j @g @v @q @. \ @h @m @y @w ;
- @acc lmet lalt @spc @ralt rctl
-)
-
-(deflayer empty
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _
-)
-
-(deflayer nav
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ pgup up pgdn _ _ _
- _ _ @lalt @lctl @lsft _ _ _ lft down rght _ _
- _ _ _ _ @lmet _ _ _ home _ end _
- _ _ _ _ _ _
-)
-
-(deflayer num
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ 9 8 7 _ _ _ _ _ _ _ _ _
- _ _ 6 5 4 _ _ _ _ @lsft @lctl @lalt _
- _ 3 2 1 0 _ _ _ _ @lmet _ _
- _ _ _ _ _ _
-)
-
-(deflayer acentos
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ @í @é @ê @ú _ _
- _ _ @lalt @lctl @lsft _ _ _ @á @ã @à @â _
- _ _ _ _ @lmet _ _ _ @ó @ô @õ _
- _ _ _ _ _ _
-)
diff --git a/kanata/ideapad.kbd b/kanata/ideapad.kbd
index 43b6e8f..95a6bbe 100644
--- a/kanata/ideapad.kbd
+++ b/kanata/ideapad.kbd
@@ -26,129 +26,35 @@
)
(defalias
- l (chord chords l)
- c (chord chords c)
- p (chord chords p)
- b (chord chords b)
- k (chord chords k)
- f (chord chords f)
- o (chord chords o)
- u (chord chords u)
-
- r (chord chords r)
- t (chord chords t)
- n (chord chords n)
- , (chord chords ,)
- ç (chord chords ç)
- d (chord chords d)
- e (chord chords e)
- i (chord chords i)
-
- g (chord chords g)
- v (chord chords v)
- q (chord chords q)
- . (chord chords .)
- h (chord chords h)
- m (chord chords m)
- y (chord chords y)
- w (chord chords w)
-
- nav (layer-while-held nav)
- num (layer-while-held num)
-
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 @nav)
- ralt (tap-hold-press 150 150 ralt @num)
-)
-
-(defchords chords 150
- ;; fileira de cima
- (l ) l
- (c ) c
- (p ) p
- (b ) b
- (k ) k
- (f ) f
- (o ) o
- (u ) u
-
- ;; fileira do meio
- (r ) r
- (t ) t
- (n ) n
- (, ) ,
- (ç ) ç
- (d ) d
- (e ) e
- (i ) i
-
- ;; fileira de baixo
- (g ) g
- (v ) v
- (q ) q
- (. ) .
- (h ) h
- (m ) m
- (y ) y
- (w ) w
-
- ;; combos laterais - lado esquerdo
- (l c) esc
- (c p) ret
- (r t) tab
- (t n) rpt
- (g v) C-c
- (v q) C-v
-
- ;; combos verticais - lado esquerdo
- (l r) S-2
- (c t) S-3
- (p n) S-4
- (b ,) S-5
- (r g) grv
- (t v) S-1
- (n q) =
- (, .) S-grv
-
- ;; combos laterais - lado direito
- (f o) bspc
- (o u) del
- (d e) S-9
- (e i) S-0
- (h m) [
- (m y) ]
-
- ;; combos verticais - lado direito
- (k ç) S-6
- (f d) +
- (o e) S-8
- (u i) S-7
- (ç h) S--
- (d m) -
- (e y) /
- (i w) S-\
+ nav (layer-while-held nav)
+ sym (layer-while-held sym)
+
+ ex S-1
+ at S-2
+ hs S-3
+ dl S-4
+ pr S-5
+ cr S-6
+ am S-7
+ ml S-8
+ lp S-9
+ rp S-0
+ lb S-[
+ rb S-]
)
-(deflayer sertania
- 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 x @l @c @p @b @k @f @o @u ' ´ [ ret
- caps s @r @t @n @, @ç @d @e @i a ~ ]
- lsft z j @g @v @q @. @h @m @y @w ; 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 /
+(deflayer smrt1
+ 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 h n l g q . f e k ' ´ [ ret
+ @lctl s m r t d , u o a i ~ ]
+ @lsft z x j c b / v p w ; y @lsft
+ @lctl @lmet @nav spc @sym /
)
(deflayer empty
@@ -169,11 +75,11 @@
_ _ _ _ _ _
)
-(deflayer num
- _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ 9 8 7 _ _ _ _ _ _ _ _ _
- _ _ 6 5 4 _ _ _ _ @lsft @lctl @lalt _
- _ _ 3 2 1 0 _ _ _ _ @lmet _ _
- _ _ _ _ _ _
+(deflayer sym
+ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ @lb [ @lp { @cr _ _ @rp ] @rb _ _ _
+ _ / @hs @at @ex _ _ @lsft @lctl @lalt _ _ _
+ _ \ @am @pr @ml @dl _ _ @lmet _ _ _ _
+ _ _ _ _ _ _
)