yqrashawn / GokuRakuJoudo

config karabiner with ease
GNU General Public License v3.0
1.16k stars 121 forks source link

:froms aliases don't work in :layers #142

Closed NeighNeighNeigh closed 2 years ago

NeighNeighNeigh commented 2 years ago

Currently it seems we are unable to use :froms in :layers. For example, this works:

:layers    {
     :modal1 {:key :k}
}

Where this does not:

:froms {
     :myfrom {:key :k}
}
:layers    {
     :modal1 :myfrom
}

It would be very helpful if these aliases could be used here.

yqrashawn commented 2 years ago

That's the supposed way. All predefined things only works in :main section.