Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report on current activity in KDE #38

Open
gree7 opened this issue Nov 12, 2020 · 2 comments
Open

Report on current activity in KDE #38

gree7 opened this issue Nov 12, 2020 · 2 comments

Comments

@gree7
Copy link

gree7 commented Nov 12, 2020

KDE provides a handy way how to differentiate between modes of usage by activities. Btw. one of the motivations for activities is different time tracking approaches. It would be nice, if arbtt logs the current activity in e.g. $activity variable.

The shell command to access the current activity is:
qdbus org.kde.ActivityManager /ActivityManager/Activities CurrentActivity>

@nomeata
Copy link
Owner

nomeata commented Nov 13, 2020

That’s kinda neat! Not sure how to best integrate this into arbtt-capture – not everybody runs KDE, so it would have to be kinda smart about detecting this, and there is complexity in talking to dbus (should I be talking to dbus directly, or use a separte tool like you proposed)…

Anyways, I’m not really actively developing arbtt right now, so probably won't happen to soon. But thanks for the suggestion!

@gree7
Copy link
Author

gree7 commented Nov 13, 2020

I always wanted to learn a bit of Haskell, so maybe, I'll have a look at it :) But not promising anything either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants