https://github.com/sananth12/sauron
:eyes: Reminds the user to take regular breaks and helps prevent eye strain
https://github.com/sananth12/sauron
command-line eyes linux pip productivity python
Last synced: 5 months ago
JSON representation
:eyes: Reminds the user to take regular breaks and helps prevent eye strain
- Host: GitHub
- URL: https://github.com/sananth12/sauron
- Owner: sananth12
- License: mit
- Created: 2015-04-03T17:31:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-21T02:52:16.000Z (almost 8 years ago)
- Last Synced: 2024-08-16T16:22:42.771Z (9 months ago)
- Topics: command-line, eyes, linux, pip, productivity, python
- Language: Python
- Homepage:
- Size: 373 KB
- Stars: 25
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sauron
[Sauron](http://en.wikipedia.org/wiki/Sauron) has great psychic powers, including the ability to "see" at great distances.

Programmers like you and me tend to strain our eyes by spending hours at the computer trying to change the world :)
Such strain draws Sauron's attenton to you, and he reminds you to take a 20s break!
## What
Sauron reminds the user to take regular breaks and helps prevent [RSI](http://en.wikipedia.org/wiki/Repetitive_strain_injury) & [CVS](http://en.wikipedia.org/wiki/Computer_vision_syndrome).
Since it is nearly impossible for any computer users to remember that they have to take a break every 20 minutes, Sauron can help you in your mission.Installing
==========### Using pip:
```sh
$ pip install -e git+https://github.com/sananth12/sauron.git#egg=sauron
```
### Build from source:
Download the zip, or clone the repo.```sh
$ cd sauron/
$ python setup.py install
```Note that `Sauron` depends on `libnotify`.
Usage
=====
By default, Sauron reminds you every 20 minutes.```sh
$ sauron
```
or,```sh
$ sauron --time 60 # Reminds you every minute!
```## Why
Computer vision syndrome (CVS) is a temporary condition resulting from focusing the eyes on a computer display for protracted, uninterrupted periods of time. Some symptoms of CVS include headaches, blurred vision, neck pain, redness in the eyes, fatigue, eye strain, dry/ irritated eyes, double vision, vertigo/dizziness and difficulty refocusing the eyes.Computer vision syndrome affects about 90% of the people who spend three hours or more a day at a computer.
## [20-20-20 Rule](http://visianinfo.com/the-20-20-20-rule-preventing-digital-eye-strain/)
To help you deal with this problem, the 20-20-20 rule suggests that after every 20 minutes, you should take a break for at least 20 seconds and look at objects that are 20 feet(6m) away.### NOTE
Tested and works in Gnome and Unity.