ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
11.98k stars 544 forks source link

XDG_CONFIG_HOME support on MacOS #921

Closed jag-k closed 1 year ago

jag-k commented 1 year ago

Issue

Please add support $XDG_CONFIG_HOME env var for config on MacOS

github-actions[bot] commented 1 year ago

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏

ErikBjare commented 1 year ago

We are using https://github.com/platformdirs/platformdirs and https://github.com/djc/appdirs-rs to get platform directories. We do not want to implement custom logic on top of it, if we can help it. See here for more: https://docs.activitywatch.net/en/latest/directories.html

If you want an alternative storage location for the config folder on macOS, I suggest you use symlinks.