Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

:eyes: Reminds the user to take regular breaks and helps prevent eye strain

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.

![Sauron](https://raw.githubusercontent.com/sananth12/sauron/master/logo.gif "Sauron : Take a break!")

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.