A node script that checks the current active app running in your OS, parses some customizable rules and sends the target layer index to a QMK keyboard over raw hid, so you can change layers programmatically.
Repository from Github https://github.comzigotica/active-app-qmk-layer-updater