awatcher icon indicating copy to clipboard operation
awatcher copied to clipboard

Any plans to make a PR to merge this in official activitywatch?

Open Game4Move78 opened this issue 11 months ago • 1 comments

I think its a good idea to merge the unbundled watcher (excluding the server and tray) into official ActivityWatch as a submodule named aw-watcher-linux. The Makefile can then be updated to build this watcher instead of aw-watcher-afk and aw-watcher-window if the platform is Linux. This would allow ActivityWatch to work out of the box for Linux users without requiring manual installation.

If possible, could you create a branch without the server and tray? That would be a great help. Let me know if you have time to look into this.

Game4Move78 avatar Feb 08 '25 23:02 Game4Move78

Hello, thank you for your suggestion! I mentioned it a couple times so I considered that, albeit not actively. What's your plan though? If the question were just the watcher binary without other dependencies, it's already built by default with cargo build, the bundle must be enabled by extra flags. Otherwise, if transferring the code to a new repository, merging the commit history is fine, but I would rather make an isolated crate which monitors window/idle data, which can be used by any binary client (I've had postponed plans for that). The question is more about what ActivityWatch authors see doable and acceptable and whether it's interesting for them.

2e3s avatar Feb 10 '25 20:02 2e3s