working on keyboards some more
This commit is contained in:
parent
3dad064b3d
commit
65b5562502
3 changed files with 48 additions and 32 deletions
|
@ -8,10 +8,24 @@ let
|
|||
'';
|
||||
shared-alias = ''
|
||||
(defalias
|
||||
spcnav (tap-hold-release $tap-timeout $hold-timeout spc (layer-while-held navigation))
|
||||
supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet)
|
||||
|
||||
;; ctrl return
|
||||
ctrl-ret (tap-hold-press $tap-timeout $hold-timeout ret lctl)
|
||||
|
||||
;; layer mods
|
||||
spcnav (tap-hold $tap-timeout 300 spc (layer-while-held navigation))
|
||||
|
||||
;; space cadet shift
|
||||
sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft)
|
||||
sp-rsft (tap-hold-press $tap-timeout $hold-timeout S-0 lsft))
|
||||
sp-rsft (tap-hold-press $tap-timeout $hold-timeout S-0 lsft)
|
||||
|
||||
;; home-row mods
|
||||
a (tap-hold $tap-timeout $hold-timeout a lshift)
|
||||
s (tap-hold $tap-timeout $hold-timeout s lctrl)
|
||||
d (tap-hold $tap-timeout $hold-timeout d lalt)
|
||||
;; f (tap-hold-press $tap-timeout $hold-timeout f )
|
||||
)
|
||||
'';
|
||||
|
||||
in
|
||||
|
@ -79,7 +93,7 @@ ${shared-alias}
|
|||
esc VolumeMute VolumeDown VolumeUp f4 MediaTrackPrevious MediaPlayPause MediaTrackNext f8 f9 f10 f11 f12 prtsc
|
||||
grv 1 2 3 4 5 6 7 8 9 0 - = \ del home
|
||||
tab q w e r t y u i o MediaPlayPause [ ] bspc end
|
||||
@supesc a s d f g MediaTrackNext VolumeDown VolumeUp MediaTrackPrevious ; ' ret pgup
|
||||
@supesc a s d f g MediaTrackPrevious VolumeDown VolumeUp MediaTrackNext ; ' ret pgup
|
||||
@sp-lsft z x c v b n VolumeMute , . / @sp-rsft pgup _
|
||||
lmet lmet lalt lctrl _ rctrl ralt rmet home pgdn end)
|
||||
'';
|
||||
|
@ -103,25 +117,21 @@ allow-hardware-repeat false
|
|||
|
||||
${k-vars}
|
||||
|
||||
(defalias
|
||||
spcnav (tap-hold $tap-timeout 300 spc (layer-while-held navigation))
|
||||
supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet)
|
||||
sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft)
|
||||
sp-rsft (tap-hold-press $tap-timeout $hold-timeout S-0 lsft))
|
||||
${shared-alias}
|
||||
|
||||
(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 [ ] \
|
||||
@supesc a s d f g h j k l ; ' ret
|
||||
@supesc @a @s @d f g h j k l ; ' ret
|
||||
@sp-lsft z x c v b n m , . / @sp-rsft
|
||||
lmet lalt lctrl @spcnav rctrl ralt)
|
||||
lmet lalt @ctrl-ret @spcnav @ctrl-ret ralt)
|
||||
|
||||
(deflayer navigation
|
||||
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 left down up right ; ' ret
|
||||
tab q w e r t home pgdn pgup end p [ ] \
|
||||
caps _ _ _ _ _ left down up right ; ' ret
|
||||
@sp-lsft z x c v b n m , . / @sp-rsft
|
||||
lmet lalt lctrl _ rctrl ralt)
|
||||
lmet lalt @ctrl-ret _ rctrl ralt)
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue