Working config for fw13 amd
This commit is contained in:
commit
b7147ec26e
49 changed files with 1812 additions and 0 deletions
39
system/services/kanata.nix
Normal file
39
system/services/kanata.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
# keyboard remapping
|
||||
services.kanata = {
|
||||
enable = true;
|
||||
|
||||
keyboards.default = {
|
||||
# i know this config is aweful but it does the job.
|
||||
config = ''
|
||||
(defsrc
|
||||
caps d w e b h j k l
|
||||
)
|
||||
|
||||
(deflayer default
|
||||
@cap _ _ _ _ _ _ _ _
|
||||
)
|
||||
|
||||
(deflayer arrows
|
||||
_ @tablayer @nextword @nextword @prevword left down up right
|
||||
)
|
||||
|
||||
(deflayer tabs
|
||||
_ _ _ _ _ @tableft _ _ @tabright
|
||||
)
|
||||
|
||||
|
||||
(defalias
|
||||
cap (tap-hold-press 170 170 esc (layer-toggle arrows))
|
||||
|
||||
nextword (multi lctrl right)
|
||||
prevword (multi lctrl left)
|
||||
|
||||
tablayer (layer-while-held tabs)
|
||||
tableft (multi lctrl lshift tab)
|
||||
tabright (multi lctrl tab)
|
||||
)
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue