vvision / zmk-config

0 stars 0 forks source link

[Idea] OS specific layers #3

Open vvision opened 3 months ago

vvision commented 3 months ago

It should be possible to trigger OS specific layer, based on the base layer we are in. Source example:

/ {
conditional_layers {
        compatible = "zmk,conditional-layers";

        mac_num_layer {
            if-layers = <M_BASE NUM>;
            then-layer = <M_NUM>;
        };
    };
};