the-via / app

GNU General Public License v3.0
736 stars 168 forks source link

Would it be possible to hide/disable some of the default layers? #238

Open igorsantos07 opened 4 months ago

igorsantos07 commented 4 months ago

At least on my Keychron K10 Pro, layer 0 is Mac-based and layer 1 is its alternative. Layers 2 and 3 are what I run daily, since I'm a Linux user - and those layers are selectable by a physical switch in the back of the keyboard.

Thus, it would be desirable to be able to skip layers 0/1 when opening the config tool on my Linux OS, so I don't make changes to a layer I don't use by accident... And then either expect them to apply or get surprised later on when I restart to Mac and keys got wonky.

That said, I would guess this connection between layers and OS is a decision from Keychron and not a "real feature". Thus, I guess the best way to go with this idea would be to have a setting for the user to manually skip layers.

Another idea would be to start the app always on the previously edited layer, but this would still be error-prone, in case localStorage gets erased or whatever. Bonus points if numbered layers could be user-named as well - e.g., it would show 0 (Mac) 1 (Mac-alt) 2 (Linux) 3 (Linux-alt) on the selector.

Depending on interest on the feature and the app source, I could be able to implement all that, if I get some time for it :)