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

https://github.com/syntaxerror019/20-20-20-rule

A bash script to help enforce the 20-20-20 rule while at work on the computer.
https://github.com/syntaxerror019/20-20-20-rule

Last synced: 8 months ago
JSON representation

A bash script to help enforce the 20-20-20 rule while at work on the computer.

Awesome Lists containing this project

README

          

# What is the 20-20-20-Rule?
The 20-20-20 rule is good practice when spending more than 20 minutes at a computer.

After 20 minutes of looking at a screen, look at something 20 feet away, for 20 seconds.

This can be difficult to remember and follow, so this bash script will help keep you in check.

# Installing
Installation, setup, and startup all can be handled with this one command:
```bash
sudo apt-get update && echo UPDATE FINISHED && sudo apt-get install -y zenity xprintidle && echo DEPENDENCIES INSTALLED && curl -o ~/20-20-20-reminder.sh https://raw.githubusercontent.com/syntaxerror019/20-20-20-Rule/main/reminder.sh && echo SCRIPT SAVED && chmod +x ~/20-20-20-reminder.sh && grep -qxF '~/20-20-20-reminder.sh &' ~/.bashrc || echo '~/20-20-20-reminder.sh &' >> ~/.bashrc && ~/20-20-20-reminder.sh &
```