Closed caph1993 closed 4 months ago
Custom icon if the configuration is using the backup mode.
What is backup mode?
Custom quick 1-second icon if the configuration was reloaded succesfully.
Sounds good. kanata already sends via tcp info on livereload, we just need to use it https://github.com/jtroo/kanata/blob/620d82fa04255b34750e9b6b1459381bcec0dd1d/tcp_protocol/src/lib.rs#L9
What is backup mode?
When the configuration file has a syntax error, kanata uses the last configuration that worked. This is what I meant by "backup".
Added icon blink on reload to main
https://github.com/user-attachments/assets/89c7ea89-740d-4493-84cb-9507d6fdca62
currently, there's no event from kanata tcp server when configuration reload fails, so first to detect failed config reload need to add this to kanata first
I would like to be able to see in the tray icon, without clicking it, whether a livereload triggered from the keyboard after modifying the source file worked-out or not. Any of these two, could do the job, but I think none of them are currently implemented: