Adhip Gupta

Myriad Meanderingsā€¦

Tracking Your Toggl Timer With Tmux-powerline

I’ve recently started using Toggl to track time spent on various things. But I usually forget to turn it on when I’m actually working.

I wrote a little script that uses Node.JS to get my active running timer on Toggl and display it on my tmux-powerline. It displays nothing if no timer is running.

The script can be found here:

Do remember to chmod +x the JS file and include it as a segment in your status bar.

A screenshot for completeness: