nicks-nix-config/rsrcs/keyboard.kbd

46 lines
1.9 KiB
Text
Raw Permalink Normal View History

2022-10-22 20:44:36 -07:00
#|-----------------------------------
(deflayer name
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
)
------------------------------------|#
(defalias
cc (tap-next esc lmet) ;; tap for escape, combine with another key for meta
2023-01-02 21:56:24 -08:00
tbsmod (tap-hold 150 tab (around-next (layer-toggle tableader))) ;; tap tab and it sends tab, hold tab and it switches layers while the button is pressed
2022-10-22 20:44:36 -07:00
2023-01-02 21:48:21 -08:00
;;tmnl ret;; do nothing because terminals require environmental variables sad (cmd-button "wezterm") ;; run the terminal
2022-10-22 20:44:36 -07:00
tpd (around lsft f13) ;; toggle touchpad
)
2022-10-08 18:52:26 -07:00
(defalias qw (layer-switch qwerty))
(defsrc
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 cmp rctl
)
(deflayer qwerty
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
2022-10-22 20:44:36 -07:00
@tbsmod q w e r t y u i o p [ ] \
2022-10-08 18:52:26 -07:00
@cc 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 @qw
)
2022-10-22 20:44:36 -07:00
(deflayer tableader
_ @tpd _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-01-02 21:48:21 -08:00
_ _ _ _ _ _ _ _ _ _ _ _ _ ;;@tmnl
2022-10-22 20:44:36 -07:00
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
)