ActivityWatch / ActivityWatch/aw-watcher-afk

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

Open
#73 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
76
Forks
56
Avg merge
4d 20h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.