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.
- Host: GitHub
- URL: https://github.com/syntaxerror019/20-20-20-rule
- Owner: syntaxerror019
- Created: 2024-09-08T14:48:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-08T15:02:12.000Z (almost 2 years ago)
- Last Synced: 2025-02-28T18:46:25.144Z (over 1 year ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 &
```