Add windows username to bucket

Hello everyone,

Is it póssible to extend Activitywatch so the bucket would also include the windows username, this is easily got by python so I was wondering which would be the steps to make to do this?

Best regards,

That would definitely be possible, we are already supporting multiple hosts for the same server and the only difference here would be that each user on a single host would count as its own host.

It wouldn’t be backwards compatible though, so it’s nothing we can merge to master unfortunately.

How to do it would simply be to change aw-client to append the current user to the hostname and it should work.

Hello, I have the same issue, but I am not able to decide where exactly to append the user name in the code as I can’t find the hostname. Also can you guide on creating .exe file after making changes. Help would be appreciated. :slight_smile: