Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Allow Custom Event Types (e.g., "on-user") in Activity #73

Open
Alterzey opened this issue Feb 18, 2025 · 0 comments
Open

[Windows] Allow Custom Event Types (e.g., "on-user") in Activity #73

Alterzey opened this issue Feb 18, 2025 · 0 comments

Comments

@Alterzey
Copy link

I use aw-watcher-afk as part of my ActivityWatch setup, and I have configured it to log more than just "afk" and "not afk." Specifically, I log an additional state called "on-user" to track when I am active on a different Windows user account.

However, when viewing the Activity tab, I only have the option to exclude afk, and my "on-user" events are not included.

Steps to Reproduce:
Configure aw-watcher-afk to log a custom event state ("on-user").
Spend some time on the second windows user (I did 1h 30m).
Return and mark the "afk" time to "on-user" then open WebUI and navigate to the activity page.
Notice that "on-user" is not displayed, even though it is logged in the Timeline data.

Expected Behavior:
Custom event states (such as "on-user") should be displayed in the Activity page (Part of the Category Sunburst).
There should be an option to include/exclude all states, not just afk.

Proposed Solution:
Modify the Web UI to recognize and display all event states logged by aw-watcher-afk.
Allow users to filter by any available state, not just afk vs. not afk.
If necessary, provide a way for users to define their own event categories.

I cannot modify aw-watcher-afk directly since it is distributed as .exe, .pyd, and .dll files.

I would be very thankful for any answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant