Skip to content

A simple script to remind you to take break and relax your eyes by adjusting screen brightness.

License

Notifications You must be signed in to change notification settings

nangsan/relaxEyes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

relaxEyes 👀

A simple script to remind you to take break from staring at your computer. When it's time to take a break your screen will dim it's brightness. Break timings are based on 20-20-20 rule.

But what's 20-20-20 rule

Your eye doctor may mentioned about it. It's basically for every 20 minutes spent using a screen, you should try to look away at something that is 20 feet away from you for a total of 20 seconds.

Install

curl -s -L https://raw.githubusercontent.com/nangsan/relaxEyes/main/install.sh | bash

Uninstall

curl -s -L https://raw.githubusercontent.com/nangsan/relaxEyes/main/install.sh | uninstall=true bash

Usage

relaxEyes.sh -h

Todo

  • add install script
  • support external monitors
  • support multiple monitors
  • support other distros

Note

Tested only on Pop!_OS 18.04 and it just works 🙈. Others are always welcome to test in different distros and raise issues if something breaks.

About

A simple script to remind you to take break and relax your eyes by adjusting screen brightness.

Topics

Resources

License

Stars

Watchers

Forks

Languages