- Download the latest package for your platform from the Releases page.
- Untar the package with
tar -zxvf tmux-pomodoro*.tar.gz. - Move the extracted
pomodorofile to a directory in your$PATH(for most systems, this will be/usr/local/bin/).
Or, if you have a Go development environment:
go get github.com/justincampbell/tmux-pomodoro
# Place the current pomodoro status on the right side of your status bar
set -g status-right '#(pomodoro status)'
# Map a key to start a timer
bind-key p run-shell 'pomodoro start'startStart a timer for 25 minutesstatusShow the remaining time, or an exclamation point if doneclearClear the timer
start and clear also call tmux refresh-client -S, which will instantly update your tmux status bar shell commands.