From 67926bbcbd90aaeb90a09efbd09522d43b453186 Mon Sep 17 00:00:00 2001 From: Rafael Ballestiero Date: Fri, 15 Sep 2023 18:43:34 +0100 Subject: [PATCH 1/2] feat: send workspace name with heartbeat --- src/extension.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' } }; } From d95da4bb160e500d739f148844866e08b99aa8f2 Mon Sep 17 00:00:00 2001 From: Rafael Ballestiero Date: Fri, 15 Sep 2023 18:46:09 +0100 Subject: [PATCH 2/2] impr: update README --- README.md | 1 + 1 file changed, 1 insertion(+) 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