EyeStrainReminder/README.md

23 lines
871 B
Markdown
Raw Normal View History

2019-10-20 23:04:03 +03:00
# EyeStrainReminder
2019-10-29 11:06:36 +02:00
A small background tool to remind the user of the "20-20-20" rule. Uses system notifications and sound cues. Made primarily for GNU/Linux, but should theoretically work with other environments.
2019-10-21 00:14:56 +03:00
2019-10-22 14:43:20 +03:00
First, you might need these packages:
2019-10-21 00:14:56 +03:00
```
2019-10-24 16:12:32 +03:00
sudo apt-get install python-gobject libnotify-bin python-gst-1.0
2019-10-22 14:43:20 +03:00
```
2019-10-28 15:09:55 +02:00
Second, just install the tool and required [Python modules](setup.py) by cloning the repository and running:
2019-10-22 14:43:20 +03:00
```
2019-10-23 10:52:39 +03:00
cd EyeStrainReminder
pip install . --user
```
Run it simply with, or preferably put it to run on boot as:
```
$ eyestrainreminder
2019-10-22 14:43:20 +03:00
```
2019-10-29 11:06:36 +02:00
Optional parameters can be viewed through "$ eyestrainreminder -h". In short, it's possible to set a custom notification sound, mute the notification sound, turn off notifications by default and invert the tray icon colors.
2019-10-29 10:33:03 +02:00
In order to remove it, just run:
2019-10-22 14:43:20 +03:00
```
2019-10-23 10:52:39 +03:00
pip uninstall EyeStrainReminder
2019-10-21 00:14:56 +03:00
```