A lightweight Python utility that enforces the well-known 20-20-20 rule to reduce screen-related eye strain. The tool periodically locks the screen with a full-screen reminder and guides users to look 20 feet away for 20 seconds. Designed for simplicity and low-friction adoption.
- Implements a periodic timer loop that triggers a visual break reminder.
- Displays a full-screen tkinter window for 20 seconds, prompting the user to rest their eyes.
- Leverages a daemon thread to keep the main program responsive while timers run in the background.
- Shows a live countdown in the terminal until the next break.
- Full-screen eye-break overlay
- 20-second lock duration
- Configurable intervals
- Non-blocking threaded execution
- Pause/Resume controls
- Auto-start on boot
- Activity logs
- Optional sound alerts
- Idle detection and auto-pause
- CLI arguments
- App-awareness to skip breaks
- Streak counter
- Mobile version (stretch goal)
python main.pyThe program immediately begins monitoring and triggers the first reminder after the configured interval.
MIT License — feel free to extend, modify, and integrate into productivity tooling.