komokana is a Windows background utility that automatically switches keyboard layers according to the application currently in focus. It integrates with the komorebi window manager and the kanata keyboard remapping engine. Users define application-specific keyboard layouts through a YAML configuration file. When the active window changes, komokana instructs kanata to activate the corresponding layer. Rules can also examine window titles to apply different layouts within the same application. Virtual key overrides provide additional control over keyboard behavior. The utility communicates through named pipes and TCP connections. It automatically attempts to reconnect when dependent processes become unavailable. komokana is designed for keyboard-driven Windows workflows.
Features
- Automatic keyboard layer switching based on the currently focused Windows application
- Integration with komorebi window management and kanata keyboard remapping
- Application-specific keyboard configuration through customizable YAML rules
- Window title matching with starts-with, ends-with, contains, and exact-match conditions
- Virtual key overrides for more precise keyboard layer selection
- Automatic reconnection to komorebi and kanata through named pipes and TCP communication