aw-watcher-window
aw-watcher-window copied to clipboard
Cross-platform window watcher (for use with ActivityWatch)
Watcher process suddenly died after running okay for weeks (last commit, from terminal). Lost 2h of data. Last messages: ``` 2024-02-14 11:50:18 [aw-watcher-window-macos] [DEBUG] [heartbeat] bucket: aw-watcher-window_erb-m2.localdomain, timestamp: 2024-02-14 10:50:18...
I see the `aw-watcher-window` process randomly crashing on MacOS after a while. I cannot quite determine what triggers the crash. Here is the output of the process with `--verbose`: ```...
This commit introduces the `--exclude-titles` argument to the aw-watcher-window module, allowing users to specify a list of window titles or regular expression patterns to exclude from tracking. This new feature...
Implemented a try/except block to catch the `Xlib.error.BadWindow` error during window name and class fetching. This change prevents the appearance of unnecessary messages in the logs, which although they do...
Add gnome-shell specific way of getting current window. Allows the watcher to work on wayland. This is gnome-shell specific and won't work on any other wayland based compositor and therefor...
workaround for #85. Yes, we should do the polling solution we outlined, but this has worked for me locally the last couple weeks and I don't have the time for...
I've been developing an electron application, and noticed that ActivityWatch regularly logged the window as unknown. From research, it seems that some applications aren't "scriptable" according to JXA/applescript, and so...
Continuing on #40 ### Issues - [ ] It seems like screen capture permissions are required in macOS 10.15+ (Catalina) for window titles to show up. - See this issue...
It seems the watcher is using the executable name to display and I don't really understand where it takes the color. It would be nice if the graph would use...