Pomodoro in Hammerspoon

pomodoro example

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.

  • 2024-02-20 09:38:14 -0600
    Convert to permalinks

  • 2022-06-08 11:31:29 -0500
    Rename articles

  • 2020-09-28 09:20:43 -0500
    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 15:20:37 -0500
    Update some tags

  • 2020-06-18 14:26:02 -0500
    Move everything to CST

    Don't know why I didn't do that before. It caused _no_ end of

  • 2019-11-14 19:33:21 -0600
    Auditing the tags in the site...

    Many removed, cleaned up, or renamed.

    Tags with only one child got yanked.

  • 2018-10-02 14:32:30 -0500
    Update tags

  • 2018-10-02 09:18:57 -0500
    Write quick post about pomodoro