A countdown timer for iTerm2's status bar. Set a target time from the terminal and see the remaining time in your status bar.
uv tool install git+https://github.com/sklum/iterm2-countdown.gitThen install the iTerm2 status bar component:
iterm2-countdown --install- Enable Python API: iTerm2 → Settings → General → Magic → Enable Python API
- Restart iTerm2
- Add the component: Settings → Profiles → Session → Configure Status Bar
- Drag "Countdown Timer" to your status bar
# Set a countdown
iterm2-countdown 8:00 PM
iterm2-countdown 20:00
iterm2-countdown 5pm
# Check status
iterm2-countdown --status
# Clear countdown
iterm2-countdown --clearIf the specified time has already passed today, the countdown is automatically set for tomorrow.
iterm2-countdown --uninstall
uv tool uninstall iterm2-countdown