A DBus-based ActivityWatch watcher for GNOME. It allows you to use ActivityWatch on GNOME under Wayland.
You need the following in order to use this watcher:
- Install and set up ActivityWatch
- Install the Focused Window DBus shell extension
I currently do not provide pre-built binaries, so you'll need to compile the
project from source. You need to have poetry
installed.
poetry install
poetry run pyinstaller --clean aw-watcher-gnome.spec
- Copy the
dist/aw-watcher-gnome
directory to your ActivityWatch directory. - In the ActivityWatch config directory, open
aw-qt/aw-qt.toml
- In
autostart_modules
, replace"aw-server", "aw-watcher-afk"
with"aw-watcher-gnome"
(if the lines in the file are commented out, uncomment them) - Restart
aw-qt