Pomodoro type timer script that sits in the system tray
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| bell.wav | ||
| break_icon.png | ||
| config.json | ||
| inactive_icon.png | ||
| README.md | ||
| requirements.txt | ||
| work_icon.png | ||
| work_timer.py | ||
Work-Break Timer Tray App
A simple system tray timer application built with Python and PySide6. The app runs in your system tray and helps you manage work/break cycles with configurable durations.
Features
- System tray integration
- Configurable work and break durations
- Visual indicators for work/break states
- Sound notifications
- Full cycle support (work -> short break -> work -> short break -> work -> long break)
- Configurable through JSON file
Installation
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Linux/Mac
# or
venv\Scripts\activate # On Windows
- Install dependencies:
pip install -r requirements.txt
Configuration
The app will create a config.json file on first run with default values:
- Work time: 25 minutes
- Short break: 5 minutes
- Long break: 15 minutes
You can modify these values by editing the config.json file.
Required Files
bell.wav: Sound file for notificationsinactive_icon.png: Icon for inactive statework_icon.png: Icon for work statebreak_icon.png: Icon for break state
Place these files in the same directory as the script.
Usage
Run the application:
python pomodoro.py
The app will appear in your system tray. Right-click the icon to:
- Start a full work/break cycle
- Start individual timers
- Stop current timer
- Exit the application