aw-watcher-afk-barrier
ActivityWatch AFK Watcher for Barrier
What is it for?
A custom watcher for users using ActivityWatch together with Barrier
Watches your keyboard and mouse activity to determine if you are AFK or not
Replaces default aw-watcher-afk
How to install
To build your own packaged application, run make package
To install the latest git version directly from github without cloning, run
pip install git+https://github.com/ActivityWatch/aw-watcher-afk-barrier.git
To install from a cloned version, cd into the directory and run
poetry install
to install inside an virtualenv. If you want to install it
system-wide it can be installed with pip install .
, but that has the issue
that it might not get the exact version of the dependencies due to not reading
the poetry.lock file.
Instructions
Needs to run only on Barrier host.
- Disable default ActivityWatch
aw-watcher-afk
. For quick testing, you can just right-click on the tray icon and in modules deselectaw-watcher-afk
, but if you want a permament solution, see ErikBjare comment - Run it via
poetry run aw-watcher-afk-barrier
You can also make it autostart:
make package
ln -s dist/aw-watcher-afk-barrier/aw-watcher-afk-barrier /usr/bin/
- Go to
~/.config/activitywatch/aw-qt/aw-qt.toml
and addaw-watcher-afk-barrier
toautostart_modules
Support
Linux support only for now. Feel free to do a PR for your platform.