1
Fork 0

Disable sticky layer switch

I'd sometimes be undecided and tap the layer key more than once, which lead to it cancelling itself, which wasn't really what I was going for
This commit is contained in:
prescientmoon 2024-02-29 13:25:59 +01:00
parent 648b3b4f33
commit 6808b57bb5
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -13,8 +13,8 @@ let
;; }}} ;; }}}
;; {{{ Layer & utility aliases ;; {{{ Layer & utility aliases
(defalias (defalias
red (${stickTap "layer-while-held red"}) red (layer-while-held red)
blue (${stickTap "layer-while-held blue"}) blue (layer-while-held blue)
purple (layer-while-held purple) purple (layer-while-held purple)
em (unicode ) em (unicode )
@ -149,7 +149,9 @@ let
;; }}} ;; }}}
;; {{{ Purple ;; {{{ Purple
(defalias (defalias
cps (caps-word 2000) ;; revert after being idle for 2s ;; Press once to active caps lock for a word (revert after being idle
;; for 2s), or twice for real caps lock.
cps (tap-dance 200 ((caps-word 2000) caps))
udo (arbitrary-code 131) ;; undo udo (arbitrary-code 131) ;; undo
cpy (arbitrary-code 133) ;; copy cpy (arbitrary-code 133) ;; copy
pst (arbitrary-code 135) ;; paste pst (arbitrary-code 135) ;; paste