Wow, I just got #arbtt capturing to run with a #wlroots based #wayland compositor (like #sway, I use #river) and it was surprisingly simple. Just run this command once per minute:
lswt --json | jq '{date:now|strftime("%FT%TZ"),rate:60000,inactive:0,windows:map({title,program:.app_id,active:.activated}),desktop:""}' | arbtt-import -a -t JSON
I have also a homegrown solution to set the inactive flag, but it’s not as pretty.
App idea for Linux: An app where I set a regular amount that I want to donate each week/month, and then it locally and privately logs how much time I spend using the different apps on my machine and distributes the money accordingly.
With different options to blacklist some apps, weigh some apps more than others, always give X amount to some apps regardless of use, also give to things that won't be tracked (like the DE), etc.
@forteller
to track data about what you use, use #arbtt.
it will be very useful to output what you use and how much. you can then get statistics and make the gifts accordingly. that would be a good first step :)