kanata
kanata copied to clipboard
Support multi-action in oneshot
Use case example:
(defalias
oss (one-shot 500 (multi lsft (layer-toggle customshiftlayer)))
)
Currently, oneshot only supports layer-toggle, a keycode, or a chord.
Thanks for filing this issue!
I think it should be possible to do it the other way around: multi one-shot.
(defalias
oss (multi (one-shot 500 lsft) (one-shot 500 (layer-toggle customshiftlayer)))
)
All one-shot actions stack together, so this should work as intended (though I haven't tested this exactly).
From lack of activity, it doesn't seem like this feature is needed - with the workaround being to use one-shot inside of multi, instead of multi inside of one-shot.
Closing as not planned.