Add alt / arrow layer on lalt Key

This commit is contained in:
Ingolf Wagner 2023-07-11 07:41:46 +02:00
parent 8d1c994687
commit b1f7200b3a
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -40,13 +40,15 @@
)
(defalias sym (layer-toggle symbols))
(defalias alt (around (layer-toggle alt-qwerty)
(layer-toggle arrows)))
(deflayer qwerty
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
esc a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lmet lalt spc @sym rmet cmp rctrl
lctl lmet @alt spc @sym rmet cmp rctrl
)
(deflayer symbols
@ -55,9 +57,30 @@
caps ä ß _ _ _ _ _ _ _ _ _ _
_ _ _ ¢ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _)
(deflayer alt-qwerty
(around lalt grv ) (around lalt 1 ) (around lalt 2 ) (around lalt 3) (around lalt 4) (around lalt 5 ) (around lalt 6) (around lalt 7) (around lalt 8 ) (around lalt 9 ) (around lalt 0 ) (around lalt - ) (around lalt = ) (around lalt bspc)
(around lalt tab ) (around lalt q ) (around lalt w ) (around lalt e) (around lalt r) (around lalt t ) (around lalt y) (around lalt u) (around lalt i ) (around lalt o ) (around lalt p ) (around lalt [ ) (around lalt ] ) (around lalt \ )
(around lalt esc ) (around lalt a ) (around lalt s ) (around lalt d) (around lalt f) (around lalt g ) (around lalt h) (around lalt j) (around lalt k ) (around lalt l ) (around lalt ; ) (around lalt ' ) (around lalt ret)
(around lalt lsft) (around lalt z ) (around lalt x ) (around lalt c) (around lalt v) (around lalt b ) (around lalt n) (around lalt m) (around lalt , ) (around lalt . ) (around lalt / ) (around lalt rsft )
_ _ _ (around lalt spc) _ _ _ _
)
(deflayer arrows
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ up _ _ _ _ _
lalt _ _ _ _ _ _ left down right _ _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _)
'';
};
# alt => alt
# alt + shift => alt + shift
# alt + jkli => left down right up
# alt + shift + jkli => alt + left down right up
in
{
nativ = keyboard "/dev/input/by-path/platform-i8042-serio-0-event-kbd" [ "lctl" "lmet" "lalt" ];