mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
added disable touchpad shortcut
This commit is contained in:
parent
f6949e3641
commit
37009c4dd4
1 changed files with 28 additions and 2 deletions
|
@ -1,4 +1,22 @@
|
||||||
(defalias cc (tap-next esc lmet))
|
#|-----------------------------------
|
||||||
|
|
||||||
|
(deflayer name
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _
|
||||||
|
)
|
||||||
|
|
||||||
|
------------------------------------|#
|
||||||
|
|
||||||
|
(defalias
|
||||||
|
cc (tap-next esc lmet) ;; tap for escape, combine with another key for meta
|
||||||
|
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
|
||||||
|
|
||||||
|
tmnl (cmd-button "date >> /tmp/tbtested.txt") ;; run urxvt terminal
|
||||||
|
tpd (around lsft f13) ;; toggle touchpad
|
||||||
|
)
|
||||||
(defalias qw (layer-switch qwerty))
|
(defalias qw (layer-switch qwerty))
|
||||||
|
|
||||||
(defsrc
|
(defsrc
|
||||||
|
@ -11,8 +29,16 @@
|
||||||
|
|
||||||
(deflayer qwerty
|
(deflayer qwerty
|
||||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
tab q w e r t y u i o p [ ] \
|
@tbsmod q w e r t y u i o p [ ] \
|
||||||
@cc a s d f g h j k l ; ' ret
|
@cc a s d f g h j k l ; ' ret
|
||||||
lsft z x c v b n m , . / rsft
|
lsft z x c v b n m , . / rsft
|
||||||
lctl lmet lalt spc ralt rctl @qw
|
lctl lmet lalt spc ralt rctl @qw
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(deflayer tableader
|
||||||
|
_ @tpd _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _ @tmnl
|
||||||
|
_ _ _ _ _ _ _ _ _ _ _ _
|
||||||
|
_ _ _ _ _ _ _
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue