Command line pomodoro timer.
This is primarily to show the timer in my tmux statusbar.
Copy pom
somewhere in your $PATH, e.g. ~/bin.
pom server
: start up the pom server that will keep track of the timerpom start
: start a pomodoro of 25 minutespom pause
: pause the current pomodoropom stop
: stop the current pomodoropom shutdown
: shutdown the pom serverpom status
: information about the current pomodoropom tmux
: output suitable for the tmux status bar
Sample .tmux.conf bindings:
bind m run 'pom stop'
bind v run 'pom pause'
bind b run 'pom start'
Status bar integration:
set -g status-right "#(pom tmux)"
If you add pom to your status bar, you might want to increase its update rate:
set -g status-interval 1