haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.85k stars 112 forks source link

[Feature Request] [Windows] Add icon to system tray #5

Closed shanempope closed 4 years ago

shanempope commented 4 years ago

I'm trying to add a feature to this and the one nice thing to have would be an icon in the system tray when the app is running. Right now I'm killing the app in Task Manager over and over.

potentially: https://github.com/qdot/systray-rs

haimgel commented 4 years ago

I'm quite opposed to polluting the system tray... In this specific case, there's no useful indication from the app, no user controls. I agree it's not really developer-friendly atm, but a tray icon is not an answer here.

daniel5151 commented 2 years ago

I'm also interested in this feature (primarily as a dev loop improvement), and wouldn't mind looking into how to implement it as a PR.

Before doing that though, would you be interested in merging such a PR, with the condition that the icon would be optional based on some configuration setting? i.e: something like tray_icon = true (where the default is off)