diff --git a/README.md b/README.md index 417903d..445c13e 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ The source code is available at https://github.com/ActivityWatch/aw-watcher-vsco ## Features Sends following data to ActivityWatch: +- current workspace name - current project name - programming language - current file name diff --git a/src/extension.ts b/src/extension.ts index b54452b..f491f03 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -141,7 +141,8 @@ class ActivityWatch { language: this._getFileLanguage() || 'unknown', project: this._getProjectFolder() || 'unknown', file: this._getFilePath() || 'unknown', - branch: this._getCurrentBranch() || 'unknown' + branch: this._getCurrentBranch() || 'unknown', + workspace: workspace.name || 'unknown' } }; }