Skip to main content

A simple utility to remind you to take regular eye breaks.

Project description

eyesight-reminder

A simple utility that creates a full screen overlay to remind you to take breaks to mitigate eye-strain. Supports multiple monitors.

Features

  • Follows the 20-20-20 rule (take 20-second breaks every 20 minutes)
  • Configurable break intervals and durations
  • Works with multiple monitors
  • System tray icon for easy access
  • Settings can be changed during runtime via the tray menu

Installation

From PyPI

pip install eyesight-reminder

From Source

Clone the repository and install:

git clone https://github.com/tjennerjahn/eyesight-reminder.git
cd eyesight-reminder
pip install .

Usage

After installation, you can run the application with:

eyesight-reminder

Or run the module directly:

python -m eyesight_reminder.main

With custom intervals and durations:

eyesight-reminder --interval 1800 --duration 30

Or:

python -m eyesight_reminder.main --interval 1800 --duration 30

Configuration

You can adjust the settings at any time by right-clicking the tray icon and selecting "Settings". This opens a dialog where you can change:

  • Break interval: How often breaks occur (in seconds)
  • Break duration: How long each break lasts (in seconds)

Changes take effect immediately.

Development

Requirements

  • Python 3.8+
  • PyQt5

Setting up a development environment

# Clone the repository
git clone https://github.com/tjennerjahn/eyesight-reminder.git
cd eyesight-reminder

# Create a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install in development mode
pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eyesight_reminder-0.1.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eyesight_reminder-0.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file eyesight_reminder-0.1.0.tar.gz.

File metadata

  • Download URL: eyesight_reminder-0.1.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for eyesight_reminder-0.1.0.tar.gz
Algorithm Hash digest
SHA256 052ce1c39ad98dfd8f1e933f2f8632dbe03aea7846c878c681ac66ec8cb6ad7d
MD5 0a6ea0aeeb98567a91dd6a57fabd2202
BLAKE2b-256 ca2344fd0db0444e591f4efff1f286a9a9e94b2f2182629881940e0c98b8aa9a

See more details on using hashes here.

File details

Details for the file eyesight_reminder-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for eyesight_reminder-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77e227b1527e2d97f0c062e692bec46a328073bcd409d197b15bd71438ee8284
MD5 8b34aace83bd2f19c76c4c1cafacf887
BLAKE2b-256 1d72318dc641ae0d1ebb9966bb789fd6b9abe4f0bb0529558c12326454681f59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page