Emacs Minor Mode for ActivityWatch
activity-watch-mode
is an automatic time tracking extension for Emacs using ActivityWatch.
Installation
Heads Up! ActivityWatch depends on request.el and Projectile being installed to work correctly.
-
Install activity-watch-mode for Emacs using MELPA.
-
Add
(global-activity-watch-mode)
to yourinit.el
file, then restart Emacs. -
Use Emacs with activity-watch-mode turned on and your time will be tracked for you automatically.
-
Visit http://localhost:5600 to see your logged time.
Usage
Enable ActivityWatch for the current buffer by invoking M-x activity-watch-mode
. If you wish to activate it globally, run M-x global-activity-watch-mode
.
Configuration
Set variable activity-watch-api-host
to your activity watch local instance (default to http://localhost:5600
).
Acknowledgments
This mode is based of the wakatime-mode.