Directories

Where things get stored depends on the platform you’re using. All paths should follow standard directories on their platforms, and to accomplish this we use appdirs in Python code and appdirs-rs in Rust code.

Data

  • Windows: C:\Users\<USER>\AppData\Local\activitywatch\activitywatch

  • macOS: ~/Library/Application\ Support/activitywatch

  • Linux: ~/.local/share/activitywatch

Config

  • Windows: %LocalAppData%\activitywatch\activitywatch

  • macOS: ~/Library/Application\ Support/activitywatch/

  • Linux: ~/.config/activitywatch, or the path defined by the $XDG_CONFIG_HOME environment variable.

Logs

  • Windows: C:\Users\<USER>\AppData\Local\activitywatch\activitywatch

  • macOS: ~/Library/Logs/activitywatch

  • Linux: ~/.cache/activitywatch/log

Cache

  • Windows: TODO

  • macOS: TODO

  • Linux: ~/.cache/activitywatch