Project

eyecare

0.0
No commit activity in last 3 years
No release in over 3 years
Protect your eyes
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0

Runtime

 Project Readme

Eyecare

Reminds you to look away to avoid computer eye strain. It is recommended to look away from your screen for 20 seconds every 20 minutes.

Installation

$ gem install eyecare

Usage

$ eyecare start
$ eyecare stop

The app will run as a daemon and pid file will be saved into ~/.eyecare/eyecare.pid To see how much time left till next notification:

$ ps aux | grep Eyecare

Create a config file ~/.eyecare/config.yml

Config options are:

alert:
  message: 'Your message here'
  timeout: '20 seconds'
  interval: '20 minutes'
  icon: '/path/to/icon.png'
  beep:
    start: /path/to/audio.wav
    end: /path/to/audio.wav
    player: 'aplay :file'