Many apps (for an easy example: Slack) change their system tray icon depending on app state.
I believe it's not possible to do this in Tauri, because systsem tray icons are defined statically in tauri.conf.json. It would be nice to be able to change the icon in the app runtime.