This script is a custom Pomodoro timer inspired by BashBunni's implementation, with added features like session control and voice notifications from Serial Experiments Lain. It uses timer
for Pomodoro intervals and terminal-notifier
for macOS desktop alerts.
- Multiple Sessions: Choose how many Pomodoro work/rest cycles to complete.
- Voice Notifications:
- A "wired" notification voiced by Whisper. (Featuring VA from serial experiments lain omg!)
- Desktop Notifications: Get macOS notifications for both work and break periods with custom icons and sounds.
- macOS: This script is designed for macOS.
- timer: Install the
timer
utility for Pomodoro intervals.brew install caarlos0/tap/timer
- terminal-notifier: For desktop notifications.
brew install terminal-notifier
-
Clone or download the script.
-
Make it executable:
chmod +x your-script.sh
-
Run the script with your work/rest durations (in seconds):
./your-script.sh <work_duration> <rest_duration>
Example:
./your-script.sh 1500 300
-
Optional: Add it to your
.zshrc
for easy access:echo 'alias pomo="~/path-to-script/your-script.sh"' >> ~/.zshrc
Now you can start the timer by typing:
pomo 1500 300
-
Set the number of sessions when prompted.
-
Work Session:
- A desktop notification will display a custom image with the message "やった!休憩してね~" ("Yay! Take a break!").
- Kyoko will announce "やった!休憩しよう!~".
-
Break Session:
- A notification will say "Break is over! Get back to work".
- Whisper will announce "Time to enter the wired again".
You can change notification messages, icons, and sounds by editing the script.
MIT License