nomeata/arbtt

Report on current activity in KDE

Opened this issue · 2 comments

gree7 commented

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>

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 commented

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