Skip to content
Discussion options

You must be logged in to vote
(defalias
t (switch
   (lmet rmet) (layer-switch layerT) break
   () t break
)   

This does what you ask for, but is it what you wanted? How to leave layerT?

(defalias
t (switch
   (lmet rmet) (layer-while-held layerT) break
   () t break
)   

With this one would realease the layer when t is realeased.
When lmet should control the release and should not be active in layerT you can use virtual keys for lmet and (layer-while-held layerT).

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@nyxmeowmeow
Comment options

@gerhard-h
Comment options

@nyxmeowmeow
Comment options

@gerhard-h
Comment options

@nyxmeowmeow
Comment options

Answer selected by nyxmeowmeow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants