Easy categorization

What about something like this? Right clicking is not something that Activity Watch does out of the box, so I needed to create a mode button for it. I think this is more flexible than just having an “Add to category” button. Note that the gif below is a little old. Now, it only shows the buttons for uncategorized options.

Recording 2025-11-23 192904 (2)

These changes can be found on my fork: GitHub - RTnhN/aw-webui: Webapp for visualizing and browsing ActivityWatch data, built with Vue.js. · GitHub . If this is something that people like, I can work on adding a new release I have added a release that people can use. With the newest versions of ActivityWatch, you can just add an environment variable to a path and use a different webui instead of using the default one.

This is a copy from Catagorizations which is a duplicate but recent related feature.

It might be possible to also fix categorization regex rules to split on the | and make a list of filters rather than a string with |. I feel that editing that would be more user friendly rather than managing that gnarly long regex string. If I have some more time this week, I might try to implement that too.

EDIT:

It was a lot easier to implement something more user friendly. You can now edit the filter as a list. This just uses the same regex data structure as before, but it just splits on the | (with appropriate checking for escape characters) and creates a more easily manageable list. It then saves this as regex, so there are no major changes to the backend.

Recording 2025-11-24 180714