yqrashawn / GokuRakuJoudo

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

Meta (groups of) variables as conditions #207

Open eugenesvk opened 1 year ago

eugenesvk commented 1 year ago

You have a cool feature allowing to group various apps together so that instead of setting individually 5 conditions with each of 5 apps you can declare an app group and use this single condition everywhere

I'd like to have the same for variables, so that instead of [:!mode_j :!mode_k :!mode_l :!mod_sc] condition (where every mode_X variable is a simple boolean 1/0) I could group these 4 modes into a single group_Right OR variable (which is 1 when either of the variables in a group is 1), thus