Pomodoro in Hammerspoon

Thanks to the encouragement I got from this video I have been trying to use the pomodoro method. I am afraid I’m a bit of an information addict, so unplugging from my feeds and dedicating time to focus is becoming more and more important.
I haven’t been able to find a simple pomodoro timer that did exactly what I wanted, so I wrote one. Here it is.
Like a normal timer, you can start/stop it, and pause/resume a running timer. Because I typically work in full screen without menubar and dock, invoking the hotkey to show the timer gives you the current remaining time.
The feature I really wanted was to close apps that distract me. In my hammerspoon config I can specify applications that are distractions… the pomodoro script will close these apps on timer start, and open any that were closed when the timer completes or is stopped at any point.
I’d like to go further and change my slack status to away with some API calls,
or even block distracting websites via /etc/hosts
, but I think I’ll just use
this for a while and enjoy it.
Changelog
-
2020-09-28 14:20:43 +0000
Change repo name
I decided to change the name of my hammerspoon configuration repo to
`hammerspoon-config` to avoid confusion... it's not the actual
hammerspoon executable, it's a configuration for that executable. -
2020-06-20 20:20:37 +0000
Update some tags
-
2020-06-18 19:26:02 +0000
Move everything to CST
Don't know why I didn't do that before. It caused _no_ end of
problems. -
2019-11-15 01:33:21 +0000
Auditing the tags in the site...
Many removed, cleaned up, or renamed.
Tags with only one child got yanked.
-
2018-10-02 19:32:30 +0000
Update tags
-
2018-10-02 14:18:57 +0000
Write quick post about pomodoro