📜  iris eyeaver - Shell-Bash (1)

📅  最后修改于: 2023-12-03 14:42:10.627000             🧑  作者: Mango

iris eyeaver - Shell-Bash

Iris Eyeaver is a simple command-line tool written in Shell-Bash that helps prevent eye strain caused by prolonged use of computer screens. It reminds users to take short breaks after every specified period of time.

Features
  • Customizable duration between breaks
  • Customizable break length
  • Customizable message to display during breaks
  • Auto-start on login
Installation
  1. Clone the Iris Eyeaver repository from GitHub:

    git clone https://github.com/username/iris-eyeaver.git
    
  2. Change directory to the Iris Eyeaver directory:

    cd iris-eyeaver
    
  3. Run the install script:

    sh install.sh
    
  4. Set the desired break duration, break length, and break message by editing the config file:

    nano ~/.iris-eyeaver/config
    
  5. Start Iris Eyeaver:

    iris-eyeaver start
    
Usage

To start Iris Eyeaver:

iris-eyeaver start

To stop Iris Eyeaver:

iris-eyeaver stop

To restart Iris Eyeaver:

iris-eyeaver restart

To view the current configuration:

iris-eyeaver config
Conclusion

Iris Eyeaver is a simple yet effective tool for preventing eye strain while using a computer. It can be customized to suit your needs and is easy to install and use. If you spend a lot of time staring at a computer screen, give Iris Eyeaver a try!