rszyma / kanata-tray

Tray Icon for Kanata
GNU General Public License v3.0
65 stars 1 forks source link

feat!: allow running multiple kanata instances concurrently #13

Closed rszyma closed 8 months ago

rszyma commented 8 months ago

Closes #10

TODO:

rszyma commented 8 months ago

I noticed that the presets in tray menu are being displayed in random order after being read from config file. It's happening because we parse presets into golang's map, which doesn't support preservation of order of insertions.

To fix this a wrapper for map like this one would need to be used, however the toml parsing library we currently use have no support for parsing complex types into custom structs.

Edit: pelletier/go-toml has a unstable api workaround to get order of mappings

rszyma commented 8 months ago

Also: