Matthew Kennard

06 Sep 2021

I use Org mode clocking for tracking time spent on billable tasks. Until recently I was using Hammerspoon and a hand crafted Lua script to show my current task, and total time spent, in the macOS menubar. However it had an issue - if I put my Mac to sleep it would stop automatically updating. I’ve now made the move to xbar which is so much simpler. I wrote a tiny zsh script to accomplish the same task which in Lua was tens of lines rather than lines you can count on one hand.