ActivityWatch / aw-qt

Tray icon that manages ActivityWatch processes, built with Qt.
Mozilla Public License 2.0
27 stars 28 forks source link

Use port from config #79

Open dufferzafar opened 2 years ago

dufferzafar commented 2 years ago

Port 5600 is hardcoded, but should be read from the server config file:

https://github.com/ActivityWatch/aw-qt/blob/7c5c447755e564c703ce123f7b89d36172fdda51/aw_qt/trayicon.py#L90

Usecase:

My brother & I both use activitywatch on our common PC. His aw-server process runs on port 5600, while mine runs on port 5700. When launching the dashboard from trayicon, it always opens up port 5600!