2023-01-02 20:39:54 -08:00
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 20:45:20 -08:00
tbsmod (tap-hold 100 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 20:52:50 -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 _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ @tmnl
_ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _
)